summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/ntp.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/conf_mode/ntp.py b/src/conf_mode/ntp.py
index a1a7befcb..6d32f7fd6 100755
--- a/src/conf_mode/ntp.py
+++ b/src/conf_mode/ntp.py
@@ -21,10 +21,9 @@ from ipaddress import ip_network
from sys import exit
from vyos.config import Config
-from vyos import ConfigError
from vyos.util import call
-from vyos.util import render
-
+from vyos.template import render
+from vyos import ConfigError
config_file = r'/etc/ntp.conf'