mirror of
https://github.com/davidhalter/jedi.git
synced 2026-06-25 03:43:53 +08:00
Fix sith.py for default --record
This commit is contained in:
@@ -86,7 +86,7 @@ class BaseAttacker(object):
|
||||
return self.record['data'][recid]
|
||||
|
||||
def save_record(self, path):
|
||||
directory = os.path.dirname(path)
|
||||
directory = os.path.dirname(os.path.abspath(path))
|
||||
if not os.path.isdir(directory):
|
||||
os.makedirs(directory)
|
||||
with open(path, 'w') as f:
|
||||
|
||||
Reference in New Issue
Block a user