mirror of https://github.com/skygpu/skynet.git
remove unneeded if block
parent
1cbb1dd7f3
commit
a452065779
|
@ -135,13 +135,6 @@ def enqueue(
|
|||
})
|
||||
binary = ''
|
||||
|
||||
if not 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}'
|
||||
|
|
Loading…
Reference in New Issue