Skip to content

Commit b06b9ed

Browse files
committed
v250123.2
1 parent 6dd255b commit b06b9ed

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed
Binary file not shown.

easycoder/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
from .ec_timestamp import *
1010
from .ec_value import *
1111

12-
__version__ = "250123.1"
12+
__version__ = "250123.2"

easycoder/ec_core.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,9 +1001,10 @@ def r_print(self, command):
10011001
value = self.getRuntimeValue(command['value'])
10021002
program = command['program']
10031003
code = program.code[program.pc]
1004-
lino = code['lino'] + 1
1004+
lino = str(code['lino'] + 1)
1005+
while len(lino) < 5: lino = f' {lino}'
10051006
if value == None: value = '<empty>'
1006-
if 'log' in command: print(f'{datetime.now().time()}: {lino}-> {value}')
1007+
if 'log' in command: print(f'{datetime.now().time()}:{lino}-> {value}')
10071008
else: print(value)
10081009
return self.nextPC()
10091010

0 commit comments

Comments
 (0)