From 964a9e2abd7651f1d042e10789e31387be229723 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 29 Jul 2018 09:48:03 -0500 Subject: [PATCH] Fix update_function job --- src/invidious.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index 137ce72a2..7e1094076 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