diff --git a/transcribe-service/usage.py b/transcribe-service/usage.py index 18fabe0..7481967 100755 --- a/transcribe-service/usage.py +++ b/transcribe-service/usage.py @@ -22,9 +22,9 @@ import datetime from shutil import copyfile import logging -import threading +import multiprocessing -lock = threading.Lock() +lock = multiprocessing.Lock() """ This class keeps a log of the usage of a service