Skip to content

Commit

Permalink
Config fix (#381)
Browse files Browse the repository at this point in the history
* bump all product versions to 2

* fix module path
  • Loading branch information
nicHoch committed Feb 2, 2024
1 parent c80117d commit 96fedb6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stixcore/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from pathlib import Path
from configparser import ConfigParser

import stixcore
from stixcore.util.logging import get_logger

logger = get_logger(__name__)
Expand All @@ -22,7 +21,7 @@ def _get_config():
-------
The parsed configuration as nested dictionaries
"""
module_dir = Path(stixcore.__file__).parent
module_dir = Path(__file__).parent.parent
if 'pytest' in sys.modules:
default = module_dir / 'data' / 'test' / 'stixcore.ini'
config_files = [default]
Expand Down

0 comments on commit 96fedb6

Please sign in to comment.