Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
aozbakir committed Jul 19, 2024
1 parent af62b25 commit 09e44ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/quakefeed/earthquake_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,12 @@ def process_changes(self):

for change in changes:
log_id, date, latitude, longitude = change
# Perform your external operation

# external operation placeholder
print(f"Start downloading images for ({latitude}, {longitude}) and ({date})")

# Mark the entry as processed
cursor.execute("UPDATE changes_log SET processed = 1 WHERE id = ?", (log_id,))

# Commit the changes and close the connection
conn.commit()
conn.close()

Expand Down

0 comments on commit 09e44ee

Please sign in to comment.