remove unneeded if block

pull/9/head
Konstantine Tsafatinos 2023-06-26 18:10:55 -04:00
parent 1cbb1dd7f3
commit a452065779
1 changed files with 1 additions and 8 deletions

View File

@ -135,19 +135,12 @@ def enqueue(
})
binary = ''
if not kwargs['jobs']:
for i in kwargs['jobs']:
ec, out = cleos.push_action(
'telos.gpu', 'enqueue', [account, req, binary, reward], f'{account}@{permission}'
)
print(collect_stdout(out))
assert ec == 0
else:
for i in kwargs['jobs']:
ec, out = cleos.push_action(
'telos.gpu', 'enqueue', [account, req, binary, reward], f'{account}@{permission}'
)
print(collect_stdout(out))
assert ec == 0
@skynet.command()
@click.option('--loglevel', '-l', default='INFO', help='Logging level')