1
0
This commit is contained in:
2018-02-03 02:37:55 +01:00
parent 9920c13582
commit 995de1e1fb
3 changed files with 18 additions and 13 deletions
+3
View File
@@ -6,6 +6,9 @@ import os
from . import ansi
class DumpMgr:
def __init__(self):
self.last_dump_filename = None
def write_dump(self, data):
outfile = os.path.normpath("logs/{}.xml".format(self.get_salt()))
if not os.path.exists(os.path.dirname(outfile)):