1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-06 03:55:36 -05:00

Silence Jester's query warning

This commit is contained in:
Zed
2020-06-07 09:18:40 +02:00
parent 558fc7a8a0
commit 1b9fa40237
2 changed files with 14 additions and 2 deletions

View File

@@ -36,7 +36,8 @@ proc initRedisPool*(cfg: Config) {.async.} =
await migrate("frosty", "*")
except OSError:
echo "Failed to connect to Redis."
stdout.write "Failed to connect to Redis.\n"
stdout.flushFile
quit(1)
template toKey(p: Profile): string = "p:" & toLower(p.username)