mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Had safeArgument logic flipped
This commit is contained in:
parent
e186cd043d
commit
689f44028a
@ -162,7 +162,7 @@ def validArgument(s):
|
||||
|
||||
notFunky = string.printable+'\x02'
|
||||
def safeArgument(s):
|
||||
if validArgument(s) and s.translate(string.ascii, notFunky) == s:
|
||||
if validArgument(s) and s.translate(string.ascii, notFunky) == '':
|
||||
return s
|
||||
else:
|
||||
return repr(s)
|
||||
|
Loading…
Reference in New Issue
Block a user