Use vm.run instead of deprecated run_in_vm(vm, ...) (#421)
This commit is contained in:
parent
cfd0c6a991
commit
df8300f54b
@ -932,7 +932,7 @@ class VmManagerWindow(QMainWindow):
|
||||
if vm.qid == 0:
|
||||
subprocess.check_call (["/usr/bin/qvm-dom0-update", "--gui"])
|
||||
else:
|
||||
qubesutils.run_in_vm(vm, "user:gpk-update-viewer", verbose=False, autostart=True)
|
||||
vm.run("user:gpk-update-viewer", verbose=False, autostart=True)
|
||||
except Exception as ex:
|
||||
thread_monitor.set_error_msg(str(ex))
|
||||
thread_monitor.set_finished()
|
||||
|
Loading…
Reference in New Issue
Block a user