purefunctor commited on
Commit ·
1a4d3af
1
Parent(s): 9483213
Fix parse_pairs function
Browse files- studio-recordings.py +1 -1
studio-recordings.py
CHANGED
|
@@ -60,7 +60,7 @@ def iter_deprox_files():
|
|
| 60 |
|
| 61 |
|
| 62 |
def parse_pairs(contents):
|
| 63 |
-
for line in contents.split("\n"):
|
| 64 |
yield line.split(",")
|
| 65 |
|
| 66 |
|
|
|
|
| 60 |
|
| 61 |
|
| 62 |
def parse_pairs(contents):
|
| 63 |
+
for line in contents.strip("\n").split("\n"):
|
| 64 |
yield line.split(",")
|
| 65 |
|
| 66 |
|