Skip to content
Snippets Groups Projects
Unverified Commit 43e062da authored by Jon Crall's avatar Jon Crall
Browse files

Fix setup issue

parent 1d3460c4
1 merge request!37Start branch for dev/0.8.3
Pipeline #436534 passed
......@@ -32,7 +32,10 @@ def static_parse(varname, fpath):
def visit_Assign(self, node):
for target in node.targets:
if getattr(target, "id", None) == varname:
self.static_value = node.value.s
try:
self.static_value = node.value.value
except AttributeError:
self.static_value = node.value.s
visitor = StaticVisitor()
visitor.visit(pt)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment