Skip to content

Commit

Permalink
Fixes #4 (TCX path issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvonthron committed Dec 1, 2013
1 parent 6090702 commit d1a5fc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# py2exe
windows = [{
"script": "micoach-backup",
"icon_resources": [(0, "icon.ico")],
"icon_resources": [(0, "gui/images/icon.ico")],
"copyright": "Copyright (c) 2013, Manuel Vonthron",
"version": VERSION,
}],
Expand Down
1 change: 1 addition & 0 deletions src/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def compareWorkoutList(self, woList):


def addWorkout(self, workout, check_exists=False):
self.checkFolder()
if config['data'].as_bool('save_csv'):
workout.writeCsv(config['data']['csv_path'].format(username=self.username, id=workout.id, date=workout.date.strftime("%Y-%m-%d %H-%M-%S"), name=workout.name),
config['data']['csv_format'])
Expand Down

0 comments on commit d1a5fc2

Please sign in to comment.