Skip to content

Commit

Permalink
add ability to export facts using dbus
Browse files Browse the repository at this point in the history
  • Loading branch information
gsobczyk committed Aug 9, 2023
1 parent fdb0b13 commit cf09ca2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hamster/storage/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,8 @@ def __export_facts(self, range):
facts_to_export = [fact for fact in facts if not fact.exported]
for fact in facts_to_export:
self.get_external().export(fact)
fact.exported = True
self.update_fact(fact.id, fact)
return facts_to_export

def __get_activities(self, search):
Expand Down

0 comments on commit cf09ca2

Please sign in to comment.