From f7564c82bc1697591c93c623398643dc140c56b2 Mon Sep 17 00:00:00 2001 From: StopmotionSimonYT Date: Thu, 25 Aug 2022 09:47:13 +0200 Subject: [PATCH] Added optional post lang --- GUI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GUI.py b/GUI.py index df9bb50..9f5f5e4 100644 --- a/GUI.py +++ b/GUI.py @@ -609,7 +609,8 @@ class App(customtkinter.CTk): self.thread_max_comment_length.insert("0", config["reddit"]["thread"]["max_comment_length"]) # Post langauge - self.thread_post_lang.insert("0", config["reddit"]["thread"]["post_lang"]) + if none == config["reddit"]["thread"]["post_language"] == "": + self.thread_post_lang.insert("0", config["reddit"]["thread"]["post_lang"]) # Min comments self.thread_min_comment_length.insert("0", config["reddit"]["thread"]["min_comments"])