Update loader_db.py

Remove support for multiple loader files with same hwid + pkhash
This commit is contained in:
Bjoern Kerler 2022-10-07 14:35:52 +02:00 committed by GitHub
parent 78715cd022
commit f0844a265a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,8 +52,6 @@ class loader_utils(metaclass=LogBase):
self.loaderdb[mhwid] = {} self.loaderdb[mhwid] = {}
if pkhash not in self.loaderdb[mhwid]: if pkhash not in self.loaderdb[mhwid]:
self.loaderdb[mhwid][pkhash] = fn self.loaderdb[mhwid][pkhash] = fn
else:
self.loaderdb[mhwid][pkhash].append(fn)
except Exception as e: # pylint: disable=broad-except except Exception as e: # pylint: disable=broad-except
self.debug(str(e)) self.debug(str(e))
continue continue