summaryrefslogtreecommitdiff
path: root/jfr_playoff/filemanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/filemanager.py')
-rw-r--r--jfr_playoff/filemanager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jfr_playoff/filemanager.py b/jfr_playoff/filemanager.py
index 5cd2a80..75eb6be 100644
--- a/jfr_playoff/filemanager.py
+++ b/jfr_playoff/filemanager.py
@@ -12,7 +12,9 @@ class PlayoffFileManager(object):
self.output_file = settings.get('output')
self.output_path = os.path.dirname(
self.output_file
- ).strip(os.sep) + os.sep
+ ).strip(os.sep)
+ if len(self.output_path) > 0:
+ self.output_path += os.sep
self.files = set()
def reset(self):