This commit is contained in:
clore 2024-05-10 00:54:19 +00:00
parent 9ce9f8eb09
commit 97c6c549c1
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ class CloreClient:
"set_gpu_info":self.gpu_oc_specs,
"xorg_valid": True
})
if oc_conf[0] and len(oc_conf[2].keys())>0 and oc_apply_allowed:
if oc_conf[0] and type(oc_conf[2])==dict and oc_apply_allowed:
if utils.normalize_rule(self.last_applied_oc)!=utils.normalize_rule(oc_conf[2]) or (self.last_oc_apply_time < utils.unix_timestamp()-300):
self.last_oc_apply_time = utils.unix_timestamp()
log.debug(f"Applying OC | {json.dumps(oc_conf[2], separators=(',',':'))}")