Update usage of last_fetched and last_updated to be Ints... However column migration still pending

This commit is contained in:
Draper
2019-12-18 17:28:57 +00:00
parent 6b2114406a
commit 9f50d83545
2 changed files with 31 additions and 74 deletions

View File

@@ -274,7 +274,7 @@ class Audio(commands.Cog):
).clear_raw("playlists")
if from_version < 3 <= to_version:
for scope in PlaylistScope.list():
scope_playlist = await get_all_playlist_for_migration23(scope, self.bot)
scope_playlist = await get_all_playlist_for_migration23(scope)
for p in scope_playlist:
await p.save()
await self.config.custom(scope).clear()