mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix line lengths
This commit is contained in:
parent
bf8e2207e0
commit
310e9bf50f
2 changed files with 6 additions and 2 deletions
|
|
@ -1504,7 +1504,9 @@ class SyncServerModule(OpenPypeModule, ITrayModule):
|
|||
|
||||
if get_local_site_id() not in (local_site, remote_site):
|
||||
# don't do upload/download for studio sites
|
||||
self.log.debug("No local site {} - {}".format(local_site, remote_site))
|
||||
self.log.debug(
|
||||
"No local site {} - {}".format(local_site, remote_site)
|
||||
)
|
||||
return SyncStatus.DO_NOTHING
|
||||
|
||||
_, remote_rec = self._get_site_rec(sites, remote_site) or {}
|
||||
|
|
|
|||
|
|
@ -171,7 +171,9 @@ class WebServerThread(threading.Thread):
|
|||
]
|
||||
list(map(lambda task: task.cancel(), tasks)) # cancel all the tasks
|
||||
results = await asyncio.gather(*tasks, return_exceptions=True)
|
||||
self.log.debug(f'Finished awaiting cancelled tasks, results: {results}...')
|
||||
self.log.debug(
|
||||
f'Finished awaiting cancelled tasks, results: {results}...'
|
||||
)
|
||||
await self.loop.shutdown_asyncgens()
|
||||
# to really make sure everything else has time to stop
|
||||
await asyncio.sleep(0.07)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue