1. Fran Peruzzi
  2. peppergtd

Commits

Fran Peruzzi  committed 91b4afe Draft

updated paths so it would work on linux

  • Participants
  • Parent commits 8760a38
  • Branches default

Comments (0)

Files changed (1)

File pepper.py

View file
 import sys
 
 # Defaults. These can be configured in peppercfg.py
-TODO_FILE = r'..\todo.txt'
-RECUR_FILE = r'..\recurrent.txt'
-TICKLER_FILE = r'..\tickler.txt'
-PROJECT_DIR = r'..\projects'
+TODO_FILE = os.path.join('..', 'todo.txt')
+RECUR_FILE = os.path.join('..', 'recurrent.txt')
+TICKLER_FILE = os.path.join('..', 'tickler.txt')
+PROJECT_DIR = os.path.join('..', 'projects')
 PROJECT_BU = os.path.join(PROJECT_DIR, 'bu')
 AUTODELETE_EMPTY_PROJECTS = True