mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-06 10:25:17 +00:00
fix lock file checking bug
This commit is contained in:
parent
6fb7a4d004
commit
42e7f1220d
@ -506,7 +506,7 @@ class TankCore:
|
||||
|
||||
def release_lock(self):
|
||||
self.config.file = None
|
||||
if os.path.exists(self.lock_file):
|
||||
if self.lock_file and os.path.exists(self.lock_file):
|
||||
os.remove(self.lock_file)
|
||||
|
||||
def __there_is_locks(self):
|
||||
|
Loading…
Reference in New Issue
Block a user