Skip to content

Commit

Permalink
edge case fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TabulateJarl8 committed May 18, 2021
1 parent 2b4f1ea commit e1542e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ti842py/__version__.py
Original file line number Diff line number Diff line change
@@ -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__ = "[email protected]"
__license__ = "GPLv3"
Expand Down
3 changes: 3 additions & 0 deletions ti842py/tiParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e1542e2

Please sign in to comment.