diff --git a/ti842py/__version__.py b/ti842py/__version__.py index 6e78ee3..f4b13c6 100644 --- a/ti842py/__version__.py +++ b/ti842py/__version__.py @@ -1,7 +1,7 @@ __title__ = "ti842py" __description__ = "TI-BASIC to Python 3 Transpiler" __url__ = "https://github.com/TabulateJarl8/ti842py" -__version__ = "0.4.7" +__version__ = "0.4.8" __author__ = "Tabulate" __author_email__ = "tabulatejarl8@gmail.com" __license__ = "GPLv3" diff --git a/ti842py/tiParser.py b/ti842py/tiParser.py index bcf54a6..e60386e 100644 --- a/ti842py/tiParser.py +++ b/ti842py/tiParser.py @@ -416,6 +416,9 @@ def convertLine(self, index, line): else: statement = ['draw = Draw()', 'draw.openWindow()'] + statement + if isinstance(statement, list) and len(statement) == 1: + statement = statement[0] + return statement def toPython(self):