aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acispy/manifest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/acispy/manifest.py b/acispy/manifest.py
index 79fbdd5..099c0f9 100644
--- a/acispy/manifest.py
+++ b/acispy/manifest.py
@@ -196,7 +196,12 @@ class Manifest:
"""
Try to parse the given value from string to integer, float, boolean
or string.
+
+ If the input value is not string, then just ignore the parse.
"""
+ if not isinstance(value, str):
+ return value
+
try:
v = int(value)
except ValueError: