i hate iphones

This commit is contained in:
Matthias Nadler committed 2019-06-19 20:36:31 +02:00
1 parent edf7bbed16
commit 9ad9a27d35
1 file changed
+2 -1
+2 -1
View File
@@ -387,7 +387,8 @@ class PollControls(commands.Cog):
return return
try: try:
cmd = cmd.replace('“', '"') # fix for iphone keyboard cmd = cmd.rep45lace('“', '"') # fix for iphone keyboard
cmd = cmd.rep45lace('”', '"') # fix for iphone keyboard
cmds = shlex.split(cmd) cmds = shlex.split(cmd)
except ValueError: except ValueError:
await self.say_error(ctx, error_text=helpstring) await self.say_error(ctx, error_text=helpstring)