mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-07 20:23:05 +00:00
fix unplug message
This commit is contained in:
parent
6198bf7fb7
commit
fa9e7a97bb
@ -424,7 +424,10 @@ class DeviceManager:
|
||||
)
|
||||
|
||||
# restore to the device
|
||||
update_label("Restoring to device...\nDo NOT Unplug")
|
||||
do_not_unplug = ""
|
||||
if self.data_singleton.current_device.connected_via_usb:
|
||||
do_not_unplug = "\nDo NOT Unplug"
|
||||
update_label(f"Restoring to device...{do_not_unplug}")
|
||||
restore_files(files=files_to_restore, reboot=self.auto_reboot, lockdown_client=self.data_singleton.current_device.ld)
|
||||
if tmp_pb_dir != None:
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user