Skip to content

Commit 2211069

Browse files
committed
Fix regression.
1 parent ff627a0 commit 2211069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ def do_pastebin_helper(self, s):
848848
else:
849849
parsed_url = urlparse(paste_url)
850850
if (not parsed_url.scheme
851-
or any(unicodedata.category(char) == 'Cc' for c in paste_url)):
851+
or any(unicodedata.category(c) == 'Cc' for c in paste_url)):
852852
self.interact.notify("Upload failed: "
853853
"Failed to recognize the helper "
854854
"program's output as an URL.")

0 commit comments

Comments
 (0)