kattrali / weemoji

Weechat plugin to replace emoji in the 'colon' format with unicode equivalents! :thumbsup:
Other
29 stars 1 forks source link

Broken since WeeChat 2.6 (Python 3) #6

Closed sQVe closed 5 years ago

sQVe commented 5 years ago

Hey :wave:,

Python 3 is used by default as of WeeChat version 2.6. This breaks this plugin an gives the following message:

python: stdout/stderr (?):   File "/home/sqve/.weechat/python/autoload/weemoji.py", line 36
python: stdout/stderr (?):     print "This script must be run under WeeChat."
python: stdout/stderr (?):                                                  ^
python: stdout/stderr (?): SyntaxError: Missing parentheses in call to 'print'. Did you mean print("This script must be run under WeeChat.")?
python: unable to parse file "/home/sqve/.weechat/python/autoload/weemoji.py"

For more information regarding version 2.6 see: ChangeLog

kattrali commented 5 years ago

Fixed by #7!