From a714118f63ad7a51062494e0dc21d51b5d8dbd23 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Sun, 28 May 2023 14:30:35 +0700 Subject: [PATCH] fix hostname bug --- vestasync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vestasync.py b/vestasync.py index a77211d..5ca0988 100755 --- a/vestasync.py +++ b/vestasync.py @@ -336,7 +336,7 @@ def device_restore(): run_user_cmd(c, args.user_cmd_file) ppush_the_repo(c) reboot(c) - print(f"Restore backup complete (hostname {hostname}), rebooting target device..\n") + print(f"Restore backup complete (hostname {args.source_hostname}), rebooting target device..\n") except socket.timeout: print(f"Failed to connect to the host {device_ip}")