fixed errant newlines in generated code
This commit is contained in:
1 parent
6943ebfd87
commit
fbe52e8e13
2 files changed
+2
-2
No files matched your search
@@ -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]
|
||||
|
||||
|
||||
Reference in new issue
Block a user