Lines 1-11
Link Here
|
1 |
--- sabnzbd/newsunpack.py.orig 2021-10-15 06:30:37 UTC |
1 |
--- sabnzbd/newsunpack.py.orig 2022-01-28 10:50:34 UTC |
2 |
+++ sabnzbd/newsunpack.py |
2 |
+++ sabnzbd/newsunpack.py |
3 |
@@ -127,6 +127,8 @@ def find_programs(curdir): |
3 |
@@ -136,6 +136,8 @@ def find_programs(curdir: str): |
4 |
if not sabnzbd.newsunpack.SEVEN_COMMAND: |
4 |
if not sabnzbd.newsunpack.SEVENZIP_COMMAND: |
5 |
sabnzbd.newsunpack.SEVEN_COMMAND = find_on_path("7za") |
5 |
sabnzbd.newsunpack.SEVENZIP_COMMAND = find_on_path("7za") # 7za = 7z stand-alone executable |
6 |
if not sabnzbd.newsunpack.SEVEN_COMMAND: |
6 |
if not sabnzbd.newsunpack.SEVENZIP_COMMAND: |
7 |
+ sabnzbd.newsunpack.SEVEN_COMMAND = find_on_path("7zz") |
7 |
+ sabnzbd.newsunpack.SEVENZIP_COMMAND = find_on_path("7zz") |
8 |
+ if not sabnzbd.newsunpack.SEVEN_COMMAND: |
8 |
+ if not sabnzbd.newsunpack.SEVENZIP_COMMAND: |
9 |
sabnzbd.newsunpack.SEVEN_COMMAND = find_on_path("7z") |
9 |
sabnzbd.newsunpack.SEVENZIP_COMMAND = find_on_path("7z") |
10 |
|
10 |
|
11 |
if not (sabnzbd.WIN32 or sabnzbd.DARWIN): |
11 |
if not (sabnzbd.WIN32 or sabnzbd.DARWIN): |