diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-07-30 23:17:31 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-07-30 23:17:31 +0200 |
commit | 053359aaf159828bdd99bda01eb705c706e3a2ca (patch) | |
tree | 78968da10c09c5298e9f87013ed63bd0fe70d7b1 /plugins | |
parent | 154163ea0a97a9afc67d031eefec153b76db6c91 (diff) | |
download | xK-053359aaf159828bdd99bda01eb705c706e3a2ca.tar.gz xK-053359aaf159828bdd99bda01eb705c706e3a2ca.tar.xz xK-053359aaf159828bdd99bda01eb705c706e3a2ca.zip |
Fix the `youtube' plugin
I hadn't read the docs throughly.
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/youtube | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/youtube b/plugins/youtube index bbd573c..48fa824 100755 --- a/plugins/youtube +++ b/plugins/youtube @@ -18,7 +18,7 @@ sys.stdout = io.TextIOWrapper (sys.__stdout__.buffer, encoding = 'iso8859-1', newline = '\r\n', line_buffering = True) re_msg = re.compile ('(?::([^! ]*)(?:!([^@]*)@([^ ]*))? +)?' - '([^ ]+)(?: +(.*))?\n$') + '([^ ]+)(?: +(.*))?\r\n$') re_args = re.compile (':?((?<=:).*|[^ ]+) *') def parse (line): |