From 3c438b5262d098442a028fab6dd50c9251c692a2 Mon Sep 17 00:00:00 2001 From: chrys Date: Wed, 19 Oct 2016 22:52:32 +0200 Subject: [PATCH] Revert "remove debug file on start" This reverts commit f7ce1135572dbc7c8203cde200e3aa1ca8f2ca99. --- src/fenrir/core/debug.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/fenrir/core/debug.py b/src/fenrir/core/debug.py index f98137a1..54bea24b 100644 --- a/src/fenrir/core/debug.py +++ b/src/fenrir/core/debug.py @@ -20,12 +20,7 @@ class debug(): self._file = None self._fileOpened = False def initialize(self, environment): - self.env = environment - if os.path.exists(self._fileName): - try: - os.remove(self._fileName) - except OSError, e: - print ("Error: %s - %s." % (e.filename,e.strerror)) + self.env = environment def shutdown(self): self.closeDebugFile() def __del__(self):