Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise committed Sep 26, 2023
1 parent 26fdf71 commit f53151e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sw_utils/ipfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ async def _upload(self, coros: list) -> str:
ipfs_hash = max(ipfs_hashes, key=ipfs_hashes.get) # type: ignore
count = ipfs_hashes[ipfs_hash]
if count < self.quorum:
logger.warning('quorum: %s, ipfs hashes: %s', self.quorum, ', '.join(ipfs_hashes.keys()))
logger.warning(
'quorum: %s, ipfs hashes: %s', self.quorum, ', '.join(ipfs_hashes.keys())
)
raise IpfsException('Failed to reach the uploads quorum')

return ipfs_hash
Expand Down

0 comments on commit f53151e

Please sign in to comment.