Skip to content

Commit

Permalink
fixing for 3.12 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Jun 20, 2024
1 parent 6db69e5 commit 33fb190
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions aiscot/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33fb190

Please sign in to comment.