summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-07-29 09:48:03 -0500
committerOmar Roth <omarroth@hotmail.com>2018-07-29 09:48:03 -0500
commit964a9e2abd7651f1d042e10789e31387be229723 (patch)
treea79becf44382237bb8cda433aa5c7c92dff0c979 /src
parent6221496f661a313bb844c770641fdb05b4fd763f (diff)
downloadinvidious-964a9e2abd7651f1d042e10789e31387be229723.tar.gz
invidious-964a9e2abd7651f1d042e10789e31387be229723.tar.bz2
invidious-964a9e2abd7651f1d042e10789e31387be229723.zip
Fix update_function job
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 137ce72a..7e109407 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -221,8 +221,9 @@ end
decrypt_function = [] of {name: String, value: Int32}
spawn do
loop do
- begin
client = make_client(YT_URL)
+
+ begin
decrypt_function = update_decrypt_function(client)
rescue ex
end