aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-06-16 13:35:38 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-06-16 13:35:38 +0200
commitbfe509532de18ab310afd3b85c379e985e1b49cd (patch)
tree39f4669cf6095b36b8504a313f08c6cb384343c9 /src
parent3fec000d6711b0520d2104d4ec360a34eddcc953 (diff)
download0tdns-bfe509532de18ab310afd3b85c379e985e1b49cd.tar.gz
0tdns-bfe509532de18ab310afd3b85c379e985e1b49cd.zip
rename ztdns_db_connectivity -> src/ztdnslib
Diffstat (limited to 'src')
-rwxr-xr-xsrc/hourly.py2
-rwxr-xr-xsrc/perform_queries.py2
-rw-r--r--src/ztdnslib.py (renamed from src/ztdns_db_connectivity.py)0
3 files changed, 2 insertions, 2 deletions
diff --git a/src/hourly.py b/src/hourly.py
index c81a5b7..0d371ab 100755
--- a/src/hourly.py
+++ b/src/hourly.py
@@ -6,7 +6,7 @@ from os import path, waitpid, unlink
from time import gmtime, strftime, sleep
# our own module used by several scripts in the project
-from ztdns_db_connectivity import start_db_connection, \
+from ztdnslib import start_db_connection, \
get_default_host_address, get_ztdns_config
wrapper = '/var/lib/0tdns/vpn_wrapper.sh'
diff --git a/src/perform_queries.py b/src/perform_queries.py
index c568bf6..1d20b13 100755
--- a/src/perform_queries.py
+++ b/src/perform_queries.py
@@ -7,7 +7,7 @@ import unbound
import psycopg2
# our own module used by several scripts in the project
-from ztdns_db_connectivity import start_db_connection, get_ztdns_config
+from ztdnslib import start_db_connection, get_ztdns_config
class dns_queries:
def __init__(self, dns_IP, dns_id, services):
diff --git a/src/ztdns_db_connectivity.py b/src/ztdnslib.py
index 34e1e00..34e1e00 100644
--- a/src/ztdns_db_connectivity.py
+++ b/src/ztdnslib.py