Skip to content

Commit

Permalink
Update alert.py
Browse files Browse the repository at this point in the history
  • Loading branch information
avishmehta68710 authored Sep 10, 2024
1 parent 18f0157 commit 2f8eebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basepair/modules/alert/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_instance(cfg=None): # pylint: disable=dangerous-default-value
if cfg is None:
cfg = {}
driver = cfg.get('driver')
driver_module = importlib.import_module(f'modules.alert.drivers.{driver}')
driver_module = importlib.import_module(f'basepair.modules.alert.drivers.{driver}')
INSTANCES[driver] = INSTANCES.get(driver) or driver_module.Instance(cfg)
INSTANCES[driver].set_config(cfg)
return INSTANCES[driver]

0 comments on commit 2f8eebe

Please sign in to comment.