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.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/jfr_playoff/filemanager.py b/jfr_playoff/filemanager.py
index 2c443b4..03dbaf7 100644
--- a/jfr_playoff/filemanager.py
+++ b/jfr_playoff/filemanager.py
@@ -8,10 +8,11 @@ import __main__
class PlayoffFileManager(object):
def __init__(self, settings):
- self.settings = settings
- self.goniec = self.settings.get('goniec')
- self.output_file = self.settings.get('output')
- self.output_path = os.path.dirname(self.output_file).strip(os.sep) + os.sep
+ self.goniec = settings.get('goniec')
+ self.output_file = settings.get('output')
+ self.output_path = os.path.dirname(
+ self.output_file
+ ).strip(os.sep) + os.sep
self.files = set()
def reset(self):