diff --git a/aiscot/constants.py b/aiscot/constants.py index bd45563..364c47a 100644 --- a/aiscot/constants.py +++ b/aiscot/constants.py @@ -35,14 +35,9 @@ except ImportError: from importlib.resources import files - DEFAULT_MID_DB_FILE = ( - "data/" + files("aiscot.data").joinpath(_DEFAULT_MID_DB_FILE).name - ) - DEFAULT_SHIP_DB_FILE = ( - "data/" + files("aiscot.data").joinpath(_DEFAULT_SHIP_DB_FILE).name - ) + DEFAULT_MID_DB_FILE = files("aiscot").joinpath(_DEFAULT_MID_DB_FILE).name + DEFAULT_SHIP_DB_FILE = files("aiscot").joinpath(_DEFAULT_SHIP_DB_FILE).name -print(f"{DEFAULT_MID_DB_FILE=} {DEFAULT_SHIP_DB_FILE=}") if bool(os.environ.get("DEBUG")): LOG_LEVEL = logging.DEBUG