Remove newline
This commit is contained in:
parent
e4ccbfe276
commit
3c9a39ecd6
|
@ -188,6 +188,8 @@ class UtilMains:
|
|||
line = sys.stdin.readline ()
|
||||
if not len (line):
|
||||
break
|
||||
if line[-1] == '\n':
|
||||
line = line[:-1]
|
||||
print callback (line)
|
||||
else:
|
||||
args = sys.argv[1:]
|
||||
|
|
Loading…
Reference in New Issue