From be2b300afbcf493de3ccc044af15977f18614dbf Mon Sep 17 00:00:00 2001 From: Fierelier Date: Thu, 1 Jul 2021 01:32:25 +0200 Subject: [PATCH] Add file lock --- clientBlaster.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clientBlaster.py b/clientBlaster.py index 717d31f..c667cf7 100644 --- a/clientBlaster.py +++ b/clientBlaster.py @@ -44,6 +44,8 @@ heartbeatTime = 600 threadCount = 0 threadCountLock = threading.Lock() +fileLock = threading.Lock() + commands = {} def commandlineToList(cmd):