Skip to content

Commit

Permalink
fix style after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Caha committed Mar 20, 2024
1 parent 1a054c8 commit de14e9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion media_sync_daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ def main():
media_sync_push(mc, driver, files_to_sync)

# check mergin client token expiration
delta = mc._auth_session["expire"] - datetime.datetime.now(datetime.timezone.utc)
delta = mc._auth_session["expire"] - datetime.datetime.now(
datetime.timezone.utc
)
if delta.total_seconds() < 3600:
mc = create_mergin_client()

Expand Down

0 comments on commit de14e9c

Please sign in to comment.