p77 - make windows use correct language version of Appdata folder, e.g. Anwendungdaten in german

This commit is contained in:
steffen123
2008-09-01 17:54:48 +01:00
parent 54ff7b71f1
commit 4976dc742c
2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -237,8 +237,8 @@ class fpdb:
defaultpath+=(os.sep)
if (os.sep=="\\"):#ie. if Windows use application data folder
defaultpath+=("Application Data"+os.sep)
else:#ie. if real OS prefix fpdb with a . as it is convention
defaultpath=os.environ["APPDATA"]+os.sep
else:#ie. if POSIX OS prefix fpdb with a .
defaultpath+="."
defaultpath+=("fpdb"+os.sep+"default.conf")