Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion upath/_flavour.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def from_protocol(
except KeyError:
pass
# finally fallback to a default flavour for the protocol
if protocol in known_implementations:
if protocol not in known_implementations:
warnings.warn(
f"Could not find default for known protocol {protocol!r}."
" Creating a default flavour for it. Please report this"
Expand Down