X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fmobilegtd.git;a=blobdiff_plain;f=src%2Fconfig%2Fdefaultconfig.py;h=afa0f7e911069f0ea330e2372f9556f263ac98c7;hp=0b032433293082a2bd67670c212a6efa4a4d83c8;hb=573aa2fe332293b1a645071a6cf46481b08b32fd;hpb=d6c3a1c1662e4efc77d027e4aea685b24188c9b1 diff --git a/src/config/defaultconfig.py b/src/config/defaultconfig.py index 0b03243..afa0f7e 100644 --- a/src/config/defaultconfig.py +++ b/src/config/defaultconfig.py @@ -1,7 +1,12 @@ +import os + main_config_file = 'C:/System/Data/mobile_gtd.cfg' default_configuration = {"screen":"normal", -"path":"C:/Data/GTD/", +# Make the path absolute. This is a no-op on Symbian, since it is +# already absolute, but helps when running on other systems (some of the +# code relies on this path being absolute). +"path": os.path.abspath("C:/Data/GTD/"), "inactivity_threshold":"7", "read_sms":"1", "action_editor":"form"