From d1a5fc2875b908349ac308fc385f686679f82ca6 Mon Sep 17 00:00:00 2001 From: Manuel Vonthron Date: Sun, 1 Dec 2013 04:14:53 -0500 Subject: [PATCH] Fixes #4 (TCX path issue) --- src/setup.py | 2 +- src/storage.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/setup.py b/src/setup.py index 6916bc7..eb268eb 100644 --- a/src/setup.py +++ b/src/setup.py @@ -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, }], diff --git a/src/storage.py b/src/storage.py index 3716913..2fa7875 100644 --- a/src/storage.py +++ b/src/storage.py @@ -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'])