Made sure basedir is always absolute

git-svn-id: http://comictagger.googlecode.com/svn/trunk@87 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2012-11-24 18:34:49 +00:00
parent 9ecb67e3a6
commit d05fade731
2 changed files with 10 additions and 9 deletions

View File

@ -39,11 +39,10 @@ class ComicTaggerSettings:
def baseDir():
if platform.system() == "Darwin" and getattr(sys, 'frozen', None):
return sys._MEIPASS
elif platform.system() == "Windows":
return "."
else:
return os.path.dirname(__file__)
#print "ATB basename", os.path.dirname( os.path.abspath( sys.argv[0] ) )
return os.path.dirname( os.path.abspath( sys.argv[0] ) )
def setDefaultValues( self ):
# General Settings

View File

@ -16,7 +16,6 @@ Style sheets for windows/mac/linux
-----------------------------------------------------
Bugs
-----------------------------------------------------
Comma in Credits in CIX
Windows zip and rar: set proper path for writing to archive
@ -25,6 +24,8 @@ Windows zip and rar: set proper path for writing to archive
SERIOUS BUG: rebuilding zips!
http://stackoverflow.com/questions/11578443/trigger-io-errno-18-cross-device-link
Execption handling for save operations
Frozen apps: better finding of resource files
OSX
@ -55,8 +56,6 @@ TaggerWindow entry fields
CLI
write a log for multiple file processing
override abort on low confidence flag
explicit metadata settings option format
-- figure out how to add credits,tags
interactive for choices option?
--- or defer choices to end, by keeping special log of match option for each file
@ -69,8 +68,6 @@ GUI to handle mutliple files or folders
Auto search:
Searching w/o issue #?
Content Hashes!!
Wizard for converting between tag styles
App option to covert RAR to ZIP
@ -82,6 +79,11 @@ app tour?
Settings
Add setting to dis-allow writing CBI to RAR
Overwrite or overlay
Google App engine to store hashes
Content Hashes??
----------------------------------------------