X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fconfig%2Fdefaultconfig.py;h=f750e73f3d8f3f4aed1c13ccb7cd93356dd4a0f4;hb=bb7a20ca09eaf1cb81a00625bf91171a428e372d;hp=0b032433293082a2bd67670c212a6efa4a4d83c8;hpb=826cc2e9923c858d3c6a86c04f371cfb326e1728;p=matthijs%2Fupstream%2Fmobilegtd.git diff --git a/src/config/defaultconfig.py b/src/config/defaultconfig.py index 0b03243..f750e73 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") + os.sep, "inactivity_threshold":"7", "read_sms":"1", "action_editor":"form"