mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-05-29 06:19:18 +02:00
Syntax...
This commit is contained in:
parent
bf97781232
commit
70acc8a7c0
@ -403,7 +403,7 @@ if 'render_devices' in config: # Start a new thread for each device.
|
||||
if not isinstance(config['render_devices'], list):
|
||||
raise Exception('Invalid render_devices value in config.')
|
||||
for device in config['render_devices']:
|
||||
if task_manager.is_alive(device):
|
||||
if task_manager.is_alive(device) >= 1:
|
||||
print(device, 'already registered.')
|
||||
continue
|
||||
if not task_manager.start_render_thread(device):
|
||||
|
Loading…
x
Reference in New Issue
Block a user