We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 267667e commit fe27507Copy full SHA for fe27507
1 file changed
blitzortung/cli/update.py
@@ -30,7 +30,6 @@
30
import blitzortung.db.query
31
import blitzortung.logger
32
from blitzortung import util
33
-from blitzortung.data import Timestamp
34
from blitzortung.lock import LockWithTimeout, FailedToAcquireException
35
36
logger = logging.getLogger(os.path.basename(__file__))
@@ -276,7 +275,7 @@ def main():
276
275
blitzortung.set_log_level(logging.WARNING)
277
278
# Use lock unless disabled
279
- lock_context = nullcontext() if options.no_lock else LockWithTimeout('/tmp/.bo-import2.lock').locked(10)
+ lock_context = nullcontext() if options.no_lock else LockWithTimeout('/tmp/.bo-update.lock').locked(10)
280
281
try:
282
with lock_context:
0 commit comments