Skip to content

Commit f176822

Browse files
authored
Update autoauth.py
Correct weechat#605 Correction found by @flashcode , verified by me
1 parent 6a30558 commit f176822

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎python/autoauth.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def get_channel_from_buffer_args(buffer, args):
301301
if not channel_name:
302302
channel_name = weechat.buffer_get_string(buffer, "localvar_channel")
303303

304-
match_data = re.match("\A(irc.)?([^.]+)\.(#\S+)\Z", channel_name)
304+
match_data = re.match(r"\A(irc.)?([^.]+)\.(#\S+)\Z", channel_name)
305305
if match_data:
306306
channel_name = match_data.group(3)
307307
server_name = match_data.group(2)

0 commit comments

Comments
 (0)