From 0fee93305ac4cc1843cbd1e6b02ac5698f30b340 Mon Sep 17 00:00:00 2001 From: kroy-the-rabbit Date: Mon, 23 Mar 2020 15:25:40 -0500 Subject: T2125: Fixing missing import --- python/vyos/ifconfig/wireguard.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python') diff --git a/python/vyos/ifconfig/wireguard.py b/python/vyos/ifconfig/wireguard.py index 044041f68..f9b4bd1ed 100644 --- a/python/vyos/ifconfig/wireguard.py +++ b/python/vyos/ifconfig/wireguard.py @@ -18,6 +18,7 @@ import os import vyos from vyos.ifconfig.interface import Interface +from datetime import timedelta class WireGuardIf(Interface): options = ['port', 'private-key', 'pubkey', 'psk', -- cgit v1.2.3 From fdfe189f7bc02a6633ae9484f4174f99c7ad5622 Mon Sep 17 00:00:00 2001 From: kroy-the-rabbit Date: Mon, 23 Mar 2020 15:39:07 -0500 Subject: T2125: Replacing all missing imports --- python/vyos/ifconfig/wireguard.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python') diff --git a/python/vyos/ifconfig/wireguard.py b/python/vyos/ifconfig/wireguard.py index f9b4bd1ed..71ee67c98 100644 --- a/python/vyos/ifconfig/wireguard.py +++ b/python/vyos/ifconfig/wireguard.py @@ -19,6 +19,8 @@ import os import vyos from vyos.ifconfig.interface import Interface from datetime import timedelta +import time +from hurry.filesize import size,alternative class WireGuardIf(Interface): options = ['port', 'private-key', 'pubkey', 'psk', -- cgit v1.2.3