From 2ca683e8fe8653bf7946f4237f562aef6a2a010a Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 17 May 2019 10:32:07 +0100 Subject: [PATCH] [Daemon] Fix showing translation warning messages Disable the warn_msg in daemon_entry since the argparse option are all marked for translation and warnings are being output. The original intent of this warn_msg was to identify anything in core code that was incorrectly marked for translation. --- deluge/core/daemon_entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/daemon_entry.py b/deluge/core/daemon_entry.py index 0a2261a08..8b3746c43 100644 --- a/deluge/core/daemon_entry.py +++ b/deluge/core/daemon_entry.py @@ -78,7 +78,7 @@ def start_daemon(skip_start=False): deluge.core.daemon.Daemon: A new daemon object """ - setup_mock_translation(warn_msg=True) + setup_mock_translation() # Setup the argument parser parser = ArgParserBase()