Fix up formatting

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
This commit is contained in:
Erik Johnston 2021-01-18 10:08:42 +00:00 committed by GitHub
parent 52f2a5bbef
commit 3c8ea6076f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ SCHEMA = """
CREATE INDEX IF NOT EXISTS deleted_idx ON media(known_deleted); CREATE INDEX IF NOT EXISTS deleted_idx ON media(known_deleted);
""" """
progress=True progress = True
def parse_duration(string): def parse_duration(string):
"""Parse a string into a duration supports suffix of d, m or y. """Parse a string into a duration supports suffix of d, m or y.
@ -422,7 +422,7 @@ def main():
args = parser.parse_args() args = parser.parse_args()
if args.no_progress: if args.no_progress:
global progress global progress
progress=False progress = False
if args.cmd == "write": if args.cmd == "write":
sqlite_conn = get_sqlite_conn(parser) sqlite_conn = get_sqlite_conn(parser)