Skip to content

Commit

Permalink
Added '#stop' and '#echo' commands to import.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Aug 14, 2014
1 parent b921504 commit a869794
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions import.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ def parseItem(station, cat, line, uiOrder):
if line[0] == '#':
if line == '#rejectUnknown':
rejectUnknown = True
if line == '#stop':
break
if line[0:5] == '#echo':
text = line[6:].strip()
print(text)
continue # comment
elif line[0] == '*':
addStar(line[1:])
Expand Down

0 comments on commit a869794

Please sign in to comment.