Skip to content

Commit ebce8d0

Browse files
author
Josh Owen
committed
try not quoting
1 parent 837c074 commit ebce8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robots/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def clean_pattern(pattern):
101101

102102
for token in parsed:
103103
if token[0] == LITERAL:
104-
character = quote(token[1].encode('utf8'))
104+
character = unichr(token[1]).encode('utf8')
105105
literals.append(character)
106106

107107
elif token[0] == AT:

0 commit comments

Comments
 (0)