This commit is contained in:
Kai Vogelgesang 2020-10-11 01:22:45 +02:00
parent 9d11c29091
commit 0acf4b3db6

View File

@ -6,7 +6,7 @@ def main():
filename = sys.argv[1]
with open(filename, "r") as f:
for line in f.readlines():
tag, data = line.split()
tag, data = line.rstrip("\n").split(" ", 1)
handler.handle(tag, data)