diff --git a/script.py b/script.py index c2025d6..c4e27ce 100644 --- a/script.py +++ b/script.py @@ -62,7 +62,8 @@ if not time_ago_arg: ip_address = run_command(['awk', '$1 == "inet" {gsub(/\/.*$/, "", $2); print $2}' ], based=ip_address_show.stdout) else: since_last_boot = False - + device_info = False + ip_address = False dpkg_date = now.strftime("%Y-%m-%d")