Skip to content

Commit

Permalink
Fixed linked error
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimaHoarder committed Feb 16, 2021
1 parent 7c11b7f commit 3f30550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/main_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def export_sqlite(archive_path, datas, parent_type, legacy_fixer=False, api=None
media_db.directory = media["directory"]
media_db.filename = media["filename"]
media_db.media_type = media["media_type"]
media_db.linked = media["linked"]
media_db.linked = media.get("linked",None)
if date_object:
media_db.created_at = date_object
database_session.add(media_db)
Expand Down

0 comments on commit 3f30550

Please sign in to comment.