Skip to content

Commit

Permalink
cast PosixPath to string to prevent crash when using Python 3.8.10
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed May 6, 2021
1 parent b81b7dc commit b2c8567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metplus/wrappers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
globals()[attribute_name] = attribute

# iterate through the modules in the current package
package_dir = Path(__file__).resolve().parent
package_dir = str(Path(__file__).resolve().parent)
for (_, module_name, _) in iter_modules([package_dir]):

# skip import of plot wrappers if they are not enabled
Expand Down

0 comments on commit b2c8567

Please sign in to comment.