Commit ee5884cb authored by Alexander Detsch's avatar Alexander Detsch 🐘
Browse files

fix dbhandler-import

parent 25a7675c
......@@ -3,7 +3,7 @@ import argparse
import sys
import getpass
import csv
from dbhandler import AdminDBHandler
from dbhandler.dbhandler import AdminDBHandler
from os.path import isfile
from netaddr import EUI, mac_unix_expanded
import requests
......@@ -51,7 +51,7 @@ class ApData:
return f"Haus {match.group(1).upper()}"
def fetch_ip_from_admindb(self, credentials):
from dbhandler import AdminDBHandler
from dbhandler.dbhandler import AdminDBHandler
db = AdminDBHandler()
if not db.connect(credentials.host, credentials.port,
credentials.dbname, credentials.username, credentials.password,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment