Update related to Hardware Sniffer

This commit is contained in:
Hoang Hong Quan
2024-10-16 01:06:59 +07:00
parent dbd343ae83
commit b888f154e7
2 changed files with 2 additions and 1 deletions

View File

@@ -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":