fixed errant newlines in generated code

This commit is contained in:
Nicholas O'Connor
2017-03-23 14:44:39 -07:00
parent 6943ebfd87
commit fbe52e8e13
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ DLL_PUBLIC map<string, CommandFunction> cellar::commands::bottles_commands() {
with open("src/bottles/commands.txt") as commandfile:
for line in commandfile:
linesplit = line.split(" ")
linesplit = line.strip().split(" ")
name = linesplit[0]
func = linesplit[1]