summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-08-07 00:23:06 +0200
committeremkael <emkael@tlen.pl>2019-08-07 00:23:06 +0200
commit7483e898f080af54e178401fc6ebb15d505e9c1d (patch)
treeab08b36214b0a30b77f6708e8df5ccef785dd75e
parent94e984b88a60fd146951a7e798573c503aafaf43 (diff)
Correct remove path for temporary output file
-rw-r--r--jfr_playoff/gui/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/gui/__init__.py b/jfr_playoff/gui/__init__.py
index f8d34fd..37d6cef 100644
--- a/jfr_playoff/gui/__init__.py
+++ b/jfr_playoff/gui/__init__.py
@@ -187,7 +187,7 @@ class PlayoffGUI(tk.Tk):
file_manager.send_files()
self.event_generate('<<BracketGenerated>>', when='tail')
if tempPath is not None:
- os.remove(tempPath)
+ os.remove(config['output'])
except Exception as e:
log.getLogger().error(str(e))
traceback.print_exc()