We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dcee41 commit df20358Copy full SHA for df20358
Lib/zoneinfo/_tzpath.py
@@ -83,7 +83,7 @@ def find_tzfile(key):
83
84
85
def _validate_tzfile_path(path, _base=_TEST_PATH):
86
- if path == "":
+ if isintance(str, path) and path == "":
87
raise ValueError(
88
"ZoneInfo key must not be an empty string"
89
)
0 commit comments