Skip to content

Commit 45d523e

Browse files
committed
Improve compatibility for Python 3 and Maya 2022
1 parent 1a7d746 commit 45d523e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

artella/dccs/maya/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def _parse_next_command(self):
519519

520520
lines = list()
521521

522-
line = self._stream.readline()
522+
line = str(self._stream.readline())
523523
while True:
524524
if not line:
525525
break
@@ -532,7 +532,7 @@ def _parse_next_command(self):
532532
break
533533
elif line:
534534
lines.append(line)
535-
line = self._stream.readline()
535+
line = str(self._stream.readline())
536536

537537
if lines:
538538
self._parse_command_lines(lines)

0 commit comments

Comments
 (0)