We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff627a0 commit 2211069Copy full SHA for 2211069
bpython/repl.py
@@ -848,7 +848,7 @@ def do_pastebin_helper(self, s):
848
else:
849
parsed_url = urlparse(paste_url)
850
if (not parsed_url.scheme
851
- or any(unicodedata.category(char) == 'Cc' for c in paste_url)):
+ or any(unicodedata.category(c) == 'Cc' for c in paste_url)):
852
self.interact.notify("Upload failed: "
853
"Failed to recognize the helper "
854
"program's output as an URL.")
0 commit comments