mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
rewrite migrations
+ delete older migrations ... oops + change migratrions from "migrations" to "dbmigrations" + restructure migrations, order them based on release version + add a utils/decorators.py file with a coroutine decorator
This commit is contained in:
+1
-1
@@ -191,7 +191,7 @@ class Album:
|
||||
if self.date:
|
||||
return
|
||||
|
||||
dates = {t.date for t in tracks if t.date}
|
||||
dates = {int(t.date) for t in tracks if t.date}
|
||||
|
||||
if len(dates) == 0:
|
||||
self.date = 0
|
||||
|
||||
Reference in New Issue
Block a user