fix items from review

This commit is contained in:
Brannon King 2020-03-03 21:38:24 -07:00
parent 926b3e56b9
commit ee39880fb5
2 changed files with 3 additions and 5 deletions

View file

@ -3142,8 +3142,9 @@ class Daemon(metaclass=JSONRPCServerType):
f"Use --allow-duplicate-name flag to override."
)
file_path = await self._video_file_analyzer.verify_or_repair(validate_file, optimize_file,
file_path, ignore_non_video=True)
file_path = await self._video_file_analyzer.verify_or_repair(
validate_file, optimize_file, file_path, ignore_non_video=True
)
claim = Claim()
claim.stream.update(file_path=file_path, sd_hash='0' * 96, **kwargs)
tx = await Transaction.claim_create(

View file

@ -220,9 +220,6 @@ class IntegrationTestCase(AsyncioTestCase):
self.account: Optional[Account] = None
async def asyncSetUp(self):
if sys.version_info < (3, 8):
# hide warning about TaskWakeupMethWrapper, see bugs.python.org/issue38608
asyncio.get_running_loop().set_debug(False)
self.conductor = Conductor(seed=self.SEED)
await self.conductor.start_blockchain()
self.addCleanup(self.conductor.stop_blockchain)