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

View File

@ -14,8 +14,6 @@ implement stud HudCache
implement storeHudCache for stud base
store raw hand in db and write reimport function using the raw hand field
make windows use correct language version of Appdata, e.g. Anwendungdaten. http://mail.python.org/pipermail/python-list/2005-September/341702.html
ftp: read maxSeats
make sure totalProfit shows actual profit rather than winnings.
update abbreviations.txt
@ -35,7 +33,7 @@ separate db table design version and last bugfix in importer
change tabledesign VALIGN
finish updating filelist
finish todos in git instructions
debian/ubuntu package
debian/ubuntu package http://www.debian.org/doc/maint-guide/ch-start.en.html
before beta
===========

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")