mirror of https://github.com/Mikaela/Limnoria.git
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