Skip to content

Commit

Permalink
Fixed bug with global scope, bumped to 0.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
NowanIlfideme committed Sep 15, 2021
1 parent d4a9d1b commit 78f611c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.3.3
current_version = 0.3.4
commit = False
tag = False

Expand Down
2 changes: 1 addition & 1 deletion src/tsdata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

from pathlib import Path

__version__ = "0.3.3"
__version__ = "0.3.4"
__root__ = Path(__file__).parent
4 changes: 2 additions & 2 deletions src/tsdata/raw/fpp3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
__all__.append(_name)

@register_loader(_name)
def _loader_i() -> pd.DataFrame:
return pd.read_csv(_filename)
def _loader_i(_fn=_filename) -> pd.DataFrame:
return pd.read_csv(_fn)

_loader_i.__qualname__ = _loader_i.__name__ = _name
_funcs[_name] = _loader_i
Expand Down

0 comments on commit 78f611c

Please sign in to comment.