Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Fixed missing migration values
Browse files Browse the repository at this point in the history
  • Loading branch information
Galarzaa90 committed Jan 24, 2019
1 parent d41e8bd commit 29216b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cogs/utils/database_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@ async def import_server_properties(conn: asyncpg.Connection, c: sqlite3.Cursor):
for entry in value:
times.append((server_id, entry["timezone"], entry["name"]))
continue
elif key in ["events_channel", "levels_channel", "news_channel", "welcome_channel", "ask_channel"]:
elif key in ["events_channel", "levels_channel", "news_channel", "welcome_channel", "ask_channel",
"announce_channel", "announce_level"]:
value = int(value)
elif key in ["watched_message", "watched_channel"]:
continue
Expand Down

0 comments on commit 29216b6

Please sign in to comment.