mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Brain fart
This commit is contained in:
parent
97eadb6feb
commit
6831dafee5
@ -138,7 +138,7 @@ class String(Value):
|
||||
s = repr(s)
|
||||
try:
|
||||
v = utils.safeEval(s)
|
||||
if type(v) is not str:
|
||||
if not isinstance(v, basestring):
|
||||
raise ValueError
|
||||
self.value = v
|
||||
except ValueError: # This catches utils.safeEval(s) errors too.
|
||||
|
Loading…
Reference in New Issue
Block a user