add checks

main
vitrinekast 8 months ago
parent 0c225c2c3e
commit 1b8bd28790

@ -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) ip_address = run_command(['awk', '$1 == "inet" {gsub(/\/.*$/, "", $2); print $2}' ], based=ip_address_show.stdout)
else: else:
since_last_boot = False since_last_boot = False
device_info = False
ip_address = False
dpkg_date = now.strftime("%Y-%m-%d") dpkg_date = now.strftime("%Y-%m-%d")

Loading…
Cancel
Save