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:
2020-04-20 02:48:52 -05:00
parent 53f3058194
commit 57b2a236a3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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))