From dbea1fdd1e06c743419d680c2389fb1602a4c8d5 Mon Sep 17 00:00:00 2001 From: oldnapalm <38410858+oldnapalm@users.noreply.github.com> Date: Fri, 10 Feb 2023 13:16:59 -0300 Subject: [PATCH] Fallback to local files --- standalone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standalone.py b/standalone.py index 931215e..8490966 100644 --- a/standalone.py +++ b/standalone.py @@ -127,9 +127,9 @@ class CDNHandler(SimpleHTTPRequestHandler): self.send_response(200) self.end_headers() self.wfile.write(PoolManager().request('GET', 'http://cdn.zwift.com%s' % self.path).data) + return except Exception as exc: print('Error trying to proxy: %s' % repr(exc)) - return SimpleHTTPRequestHandler.do_GET(self)