We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56f64c8 commit 6cdc69cCopy full SHA for 6cdc69c
pkg/pyproject.toml
@@ -15,6 +15,6 @@ namespaces = true
15
16
# ----------------------------------------- Project Metadata -------------------------------------
17
[project]
18
-version = "0.2.4"
+version = "0.2.5"
19
name = "FileEx"
20
requires-python = ">=3.10"
pkg/src/fileex/file.py
@@ -44,7 +44,7 @@ def open_file(
44
when done to release resources.
45
"""
46
if isinstance(source, str):
47
- if fileex.file.is_path(source):
+ if fileex.path.is_path(source):
48
return Path(source).open(mode=mode, encoding=encoding)
49
return io.StringIO(source)
50
if isinstance(source, bytes):
0 commit comments