Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 7, 2023
1 parent 1f7fa1c commit 97c8262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions socs/agents/suprsync/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def run(self, session, params=None):

# update tcdirs every six-hours
last_tcdir_update = 0
tcdir_update_interval = 6*3600
tcdir_update_interval = 6 * 3600

while self.running:
counters['iterations'] += 1
Expand All @@ -169,7 +169,7 @@ def run(self, session, params=None):
# add timecode-dirs for all files from the last week
self.log.info("Creating timecode dirs for recent files.....")
srfm.create_all_timecode_dirs(
self.archive_name, min_ctime=now - (7*24*3600)
self.archive_name, min_ctime=now - (7 * 24 * 3600)
)
self.log.info("Finished creating tcdirs")
last_tcdir_update = now
Expand Down

0 comments on commit 97c8262

Please sign in to comment.