Skip to content

Commit

Permalink
fix storage path
Browse files Browse the repository at this point in the history
  • Loading branch information
dakk committed Aug 16, 2024
1 parent f4ce491 commit 71e2967
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gweatherrouting/core/gribmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from .grib import Grib

# try:
from .utils.storage import GRIB_DIR, TEMP_DIR, Storage
from .storage import GRIB_DIR, TEMP_DIR, Storage

# except:
# from .utils.dummy_storage import Storage
Expand Down
8 changes: 4 additions & 4 deletions gweatherrouting/core/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
from geojson_utils import point_in_polygon
from typing import Dict, Callable

try:
from .storage import * # noqa: F401, F403
except:
from .dummy_storage import * # noqa: F401, F403
# try:
from .storage import * # noqa: F401, F403
# except:
# from .dummy_storage import * # noqa: F401, F403

this_dir, this_fn = os.path.split(__file__)
COUNTRIES = json.load(open(this_dir + "/../../data/countries.geojson", "r"))
Expand Down

0 comments on commit 71e2967

Please sign in to comment.