Compare commits
No commits in common. "72b39bc00c0a20a45621a89de748483fba2735c4" and "3783992de5ca1639ce8c354bf6f776876bc1b10e" have entirely different histories.
72b39bc00c
...
3783992de5
1 changed files with 2 additions and 6 deletions
|
|
@ -3,7 +3,6 @@
|
|||
import configparser
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
config = configparser.ConfigParser()
|
||||
config['pomodoro'] = {}
|
||||
|
|
@ -23,7 +22,7 @@ if not os.path.isfile('settings.ini'):
|
|||
pomodoro['logfile'] = ''
|
||||
|
||||
# This path must be absolute, for some reason using ~ for home isn't working:
|
||||
pomodoro['logpath'] = '~/Projects/python/pomodoroprompt/log/'
|
||||
pomodoro['logpath'] = '/home/mlncn/Projects/agaric/python/pomodoroprompt/log/'
|
||||
write()
|
||||
|
||||
config.read('settings.ini')
|
||||
|
|
@ -48,7 +47,4 @@ def harvest_set_projects_clients_map(projects_clients_map = {}):
|
|||
write()
|
||||
|
||||
def harvest_get_projects_clients_map():
|
||||
if 'projects_clients' in harvest:
|
||||
return json.loads(harvest['projects_clients'])
|
||||
else:
|
||||
sys.exit("No project clients available; run fetch_clients_projects.py")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue