diff --git a/borgmatic/commands/borgmatic.py b/borgmatic/commands/borgmatic.py index cc21fc11..105b4c2b 100644 --- a/borgmatic/commands/borgmatic.py +++ b/borgmatic/commands/borgmatic.py @@ -1,9 +1,9 @@ import collections +import fcntl import json import logging import os import sys -import fcntl from subprocess import CalledProcessError import colorama @@ -55,7 +55,7 @@ def run_configuration(config_filename, config, arguments): encountered_error = None error_repository = '' - if location.get("lock_client",False): + if location.get("lock_client", False): lock_f = open(config_filename) try: fcntl.flock(lock_f.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB)