forked from p15670423/monkey
Merge pull request #600 from VakarisZ/linux_bootloader_hotfix
Bootlaoder reliability
This commit is contained in:
commit
bf6a8384da
|
@ -17,7 +17,7 @@ class BootloaderService:
|
|||
telem['os_version'] = "Unknown OS"
|
||||
|
||||
telem_id = BootloaderService.get_mongo_id_for_bootloader_telem(telem)
|
||||
mongo.db.bootloader_telems.update({'_id': telem_id}, telem, upsert=True)
|
||||
mongo.db.bootloader_telems.update({'_id': telem_id}, {'$setOnInsert': telem}, upsert=True)
|
||||
|
||||
will_monkey_run = BootloaderService.is_os_compatible(telem)
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue