You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
utils.set_path fails when argument is type pathlib.Path
File~/.local/lib/python3.12/site-packages/pystore/utils.py:129, inset_path(path)
126path=get_path()
128else:
-->129path=path.rstrip("/").rstrip("\\").rstrip(" ")
130if"://"inpathand"file://"notinpath:
131raiseValueError(
132"PyStore currently only works with local file system")
AttributeError: 'PosixPath'objecthasnoattribute'rstrip'
utils.set_path
fails when argument is typepathlib.Path
potential fix
this should work for both
str
(coming fromos.getenv
andpathlib.Path
The text was updated successfully, but these errors were encountered: