mirror of
https://github.com/mnaberez/py65.git
synced 2025-08-07 07:29:02 +00:00
Use lstrip() to remove leading dots.
This commit is contained in:
@@ -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():
|
||||
|
Reference in New Issue
Block a user