diff options
Diffstat (limited to 'bin.otrverwaltung3p.diff')
-rw-r--r-- | bin.otrverwaltung3p.diff | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/bin.otrverwaltung3p.diff b/bin.otrverwaltung3p.diff deleted file mode 100644 index ffd4c582fce1..000000000000 --- a/bin.otrverwaltung3p.diff +++ /dev/null @@ -1,58 +0,0 @@ -diff --git a/bin/otrverwaltung3p b/bin/otrverwaltung3p -index 7da0c16..c003edb 100755 ---- a/bin/otrverwaltung3p -+++ b/bin/otrverwaltung3p -@@ -32,7 +32,6 @@ from pathlib import Path - - try: - from gi import require_version -- - require_version("Gtk", "3.0") - from gi.repository import Gtk, Gdk - except Exception as e: -@@ -473,6 +472,9 @@ class App: - def __section_otrkey(self): - fpath = self.config.get("general", "folder_new_otrkeys") - files = [] -+ if fpath == "": -+ return files -+ - if Path(fpath).is_dir(): - files += [ - join(fpath, file_) -@@ -484,6 +486,8 @@ class App: - def __section_video_uncut(self): - fpath = self.config.get("general", "folder_uncut_avis") - files = [] -+ if fpath == "": -+ return files - if Path(fpath).is_dir(): - files += [ - join(fpath, file_) -@@ -495,6 +499,8 @@ class App: - def __section_video_cut(self): - fpath = self.config.get("general", "folder_cut_avis") - files = [] -+ if fpath == "": -+ return files - if Path(fpath).is_dir(): - for file_ in os.listdir(fpath): - if not self.regex_uncut_video.match(file_): -@@ -512,6 +518,8 @@ class App: - def __section_trash_avi(self): - fpath = self.config.get("general", "folder_trash_avis") - files = [] -+ if fpath == "": -+ return files - if Path(fpath).is_dir(): - files += [ - join(fpath, file_) -@@ -523,6 +531,8 @@ class App: - def __section_trash_otrkey(self): - fpath = self.config.get("general", "folder_trash_otrkeys") - files = [] -+ if fpath == "": -+ return files - if Path(fpath).is_dir(): - files += [ - join(fpath, file_) |