Skip to content

Commit

Permalink
Merge pull request #35 from drayside/fix-session-path
Browse files Browse the repository at this point in the history
adding call to os.path.expanduser() for session file (~/.pomodoro_sessio...
  • Loading branch information
dattanchu committed Feb 8, 2015
2 parents 6b446a3 + 7dfbcc1 commit af34bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodoro.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self):
def load_defaults(self):
self.script_path = self._get_script_path()
self.data_path = os.path.join(self.script_path, 'data')
self.session_file = '~/.pomodoro_session'
self.session_file = os.path.expanduser('~/.pomodoro_session')
self.auto_hide = False

# Times
Expand Down

0 comments on commit af34bed

Please sign in to comment.