Skip to content

Commit

Permalink
🩹 v1.3.12 Fixed get_plugin_config() and write_plugin_config().
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeares committed Oct 26, 2022
1 parent b889ec8 commit a9f5cb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions meerschaum/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def get_plugin_config(*keys : str, **kw : Any) -> Optional[Any]:
See `meerschaum.config.get_config` for arguments.
"""
from meerschaum.utils.warnings import warn, error
from meerschaum.actions import _get_parent_plugin
from meerschaum.plugins import _get_parent_plugin
parent_plugin_name = _get_parent_plugin(2)
if parent_plugin_name is None:
error(f"You may only call `get_plugin_config()` from within a Meerschaum plugin.")
Expand All @@ -262,7 +262,7 @@ def write_plugin_config(
Write a plugin's configuration dictionary.
"""
from meerschaum.utils.warnings import warn, error
from meerschaum.actions import _get_parent_plugin
from meerschaum.plugins import _get_parent_plugin
parent_plugin_name = _get_parent_plugin(2)
if parent_plugin_name is None:
error(f"You may only call `get_plugin_config()` from within a Meerschaum plugin.")
Expand Down
2 changes: 1 addition & 1 deletion meerschaum/config/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Specify the Meerschaum release version.
"""

__version__ = "1.3.11"
__version__ = "1.3.12"

0 comments on commit a9f5cb3

Please sign in to comment.