Commit edd62897 authored by echel0n's avatar echel0n

Fixed issue with post-processing and logging downloads to history when unable...

Fixed issue with post-processing and logging downloads to history when unable to determine provider result came from.
parent 134fcfe2
......@@ -160,7 +160,7 @@ class History:
:param version: Version of file (defaults to -1)
"""
provider = ''
provider = 'unknown'
dbData = session.query(MainDB.History).filter(MainDB.History.resource.contains(os.path.basename(filename).rpartition(".")[0])).first()
if dbData:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment