[RUtils] Fix uudecode
This commit is contained in:
parent
8236b28911
commit
95abf207f6
@ -153,7 +153,7 @@ def uudecode(phenny, input):
|
|||||||
return phenny.reply("Nothing to decode.")
|
return phenny.reply("Nothing to decode.")
|
||||||
q = input.group(2).encode('utf-8')
|
q = input.group(2).encode('utf-8')
|
||||||
try:
|
try:
|
||||||
return phenny.say(binascii.ua2b_uu(q + '\n'))
|
return phenny.say(binascii.a2b_uu(q + '\n'))
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
return phenny.reply(e.message)
|
return phenny.reply(e.message)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user