From 73b8f67f6103a4f9f3a19628c08751c15eb6d1f0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 2 Aug 2020 12:21:30 +0100 Subject: [PATCH] Can clear youtube replacement domain --- daemon.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon.py b/daemon.py index 792a32b80..3004208f0 100644 --- a/daemon.py +++ b/daemon.py @@ -6322,6 +6322,10 @@ class PubServer(BaseHTTPRequestHandler): newYTDomain) self.server.YTReplacementDomain = \ newYTDomain + else: + setConfigParam(self.server.baseDir, + 'youtubedomain', '') + self.server.YTReplacementDomain = None currInstanceDescriptionShort = \ getConfigParam(self.server.baseDir,