mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 10:19:49 +00:00
Update related to Hardware Sniffer
This commit is contained in:
@@ -55,7 +55,7 @@ class OCPE:
|
||||
print("Q. Quit")
|
||||
print("")
|
||||
|
||||
user_input = self.u.request_input("Drag and drop your hardware report here (.JSON) or type 'E' to export: ")
|
||||
user_input = self.u.request_input("Drag and drop your hardware report here (.JSON){}: ".format(" or type \"E\" to export" if self.hardware_sniffer else ""))
|
||||
if user_input.lower() == "q":
|
||||
self.u.exit_program()
|
||||
if self.hardware_sniffer and user_input.lower() == "e":
|
||||
|
||||
@@ -253,6 +253,7 @@ class gatheringFiles:
|
||||
else:
|
||||
download_history[history_index]["id"] = hardware_sniffer_cli.get("id")
|
||||
|
||||
self.utils.create_folder(os.path.dirname(self.download_history_file))
|
||||
self.utils.write_file(self.download_history_file, download_history)
|
||||
|
||||
return hardware_sniffer_path
|
||||
|
||||
Reference in New Issue
Block a user