fixes
This commit is contained in:
1 parent
7e39d8db61
commit
b322c63bec
2 files changed
+7
-6
No files matched your search
@@ -119,7 +119,7 @@ async def convert_loop():
|
||||
file_hash = hash_stdout.decode().split()[0]
|
||||
file_hash = b58encode(bytes.fromhex(file_hash)).decode()
|
||||
|
||||
if not db_session.query(StoredContent).filter(
|
||||
if not session.query(StoredContent).filter(
|
||||
StoredContent.hash == file_hash
|
||||
).first():
|
||||
new_content = StoredContent(
|
||||
|
||||
Reference in new issue
Block a user