mirror of
https://github.com/mnaberez/py65.git
synced 2024-11-18 15:06:35 +00:00
Use lstrip() to remove leading dots.
This commit is contained in:
parent
c714480580
commit
6b61cdf5b3
@ -69,8 +69,7 @@ class Monitor(cmd.Cmd):
|
||||
|
||||
def _preprocess_line(self, line):
|
||||
# ignore leading dots
|
||||
while line.startswith('.'):
|
||||
line = line[1:]
|
||||
line = line.lstrip('.')
|
||||
|
||||
# command shortcuts
|
||||
for shortcut, command in self._shortcuts.iteritems():
|
||||
|
Loading…
Reference in New Issue
Block a user