Skip to content

Commit 4442c41

Browse files
committed
fix-python-websockets#762: remove f-string because there are no placeholders
1 parent b514f11 commit 4442c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/websockets/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def port(self) -> Optional[int]:
349349

350350
@property
351351
def secure(self) -> Optional[bool]:
352-
warnings.warn(f"don't use secure", DeprecationWarning)
352+
warnings.warn("don't use secure", DeprecationWarning)
353353
return self._secure
354354

355355
# Public API

0 commit comments

Comments
 (0)