This commit is contained in:
mrq 2023-02-16 13:23:07 +00:00
parent eca61af016
commit d159346572

View File

@ -18,7 +18,7 @@ def set_device_name(name):
def get_device_name(): def get_device_name():
global DEVICE_OVERRIDE global DEVICE_OVERRIDE
if DEVICE_OVERRIDE is not None: if DEVICE_OVERRIDE is not None and DEVICE_OVERRIDE != "":
return DEVICE_OVERRIDE return DEVICE_OVERRIDE
name = 'cpu' name = 'cpu'