Fixed an interface bug in the JSON generator (and the temp interface in the main program) where some variable types would be displayed incorrectly.
This commit is contained in:
@@ -25,7 +25,7 @@ def modify_variable(var, vars):
|
||||
response = input("Select a property to modify for %s or q to exit property modifying: " %(var.name))
|
||||
|
||||
if response == "type":
|
||||
response = input("Enter the type of variable this is (currently %s): " %(expression.Variable.get_variable_type(var.type)))
|
||||
response = input("Enter the type of variable this is (currently %s): " %(var.type))
|
||||
vars[var.name].type = response
|
||||
print("Updated to %s." %(response))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user