mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
[3.2][Audio] Database migration fix (#3275)
* Missed this due to the mess of a fork i had * chore
This commit is contained in:
@@ -217,7 +217,7 @@ class Audio(commands.Cog):
|
||||
|
||||
async def _migrate_config(self, from_version: int, to_version: int) -> None:
|
||||
database_entries = []
|
||||
time_now = str(datetime.datetime.now(datetime.timezone.utc))
|
||||
time_now = int(datetime.datetime.now(datetime.timezone.utc).timestamp())
|
||||
if from_version == to_version:
|
||||
return
|
||||
if from_version < 2 <= to_version:
|
||||
|
||||
Reference in New Issue
Block a user