Skip to content

Commit ada10d4

Browse files
committed
fixup: unnecessary escape
1 parent 45d7834 commit ada10d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sopel/modules/reddit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
post_or_comment_url = (
3131
domain +
3232
r'/r/\S+?/comments/(?P<submission>[\w-]+)'
33-
r'(?:/?(?:[\w%%]+/(?P<comment>[\w-]+))?)'
33+
r'(?:/?(?:[\w%]+/(?P<comment>[\w-]+))?)'
3434
)
3535
short_post_url = r'https?://redd\.it/([\w-]+)'
3636
user_url = r'%s/u(?:ser)?/([\w-]+)' % domain

0 commit comments

Comments
 (0)