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 implement storeHudCache for stud base
store raw hand in db and write reimport function using the raw hand field 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 ftp: read maxSeats
make sure totalProfit shows actual profit rather than winnings. make sure totalProfit shows actual profit rather than winnings.
update abbreviations.txt update abbreviations.txt
@ -35,7 +33,7 @@ separate db table design version and last bugfix in importer
change tabledesign VALIGN change tabledesign VALIGN
finish updating filelist finish updating filelist
finish todos in git instructions finish todos in git instructions
debian/ubuntu package debian/ubuntu package http://www.debian.org/doc/maint-guide/ch-start.en.html
before beta before beta
=========== ===========

View File

@ -237,8 +237,8 @@ class fpdb:
defaultpath+=(os.sep) defaultpath+=(os.sep)
if (os.sep=="\\"):#ie. if Windows use application data folder if (os.sep=="\\"):#ie. if Windows use application data folder
defaultpath+=("Application Data"+os.sep) defaultpath=os.environ["APPDATA"]+os.sep
else:#ie. if real OS prefix fpdb with a . as it is convention else:#ie. if POSIX OS prefix fpdb with a .
defaultpath+="." defaultpath+="."
defaultpath+=("fpdb"+os.sep+"default.conf") defaultpath+=("fpdb"+os.sep+"default.conf")