Adds a generic vendor for unrecognizable systems #105

Merged
ThomasADavis merged 5 commits from generic-vendor into master 2020-02-03 00:38:24 +01:00
Showing only changes of commit 0763c62c03 - Show all commits

View file

@ -23,7 +23,7 @@ def run(config):
try: try:
server = MANUFACTURERS[manufacturer](dmi=dmidecode) server = MANUFACTURERS[manufacturer](dmi=dmidecode)
except KeyError: except KeyError:
server = MANUFACTURERS["Generic"] server = GenericHost
if config.debug: if config.debug:
server.print_debug() server.print_debug()