Commit 51befd0b authored by nanahira's avatar nanahira

fix

parent ee1cdfc1
...@@ -44,7 +44,7 @@ def migrate_songs(): ...@@ -44,7 +44,7 @@ def migrate_songs():
for diff in ['easy', 'normal', 'hard', 'oni', 'ura']: for diff in ['easy', 'normal', 'hard', 'oni', 'ura']:
if row[diff]: if row[diff]:
spl = None spl = None
if type(row[diff]) == 'string': if type(row[diff]) == 'str':
spl = row[diff].split(' ') spl = row[diff].split(' ')
else: else:
spl = [row[diff]] spl = [row[diff]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment