1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
diff --git a/other/wrapper/nzbhydra2wrapperPy3.py b/other/wrapper/nzbhydra2wrapperPy3.py
index 1c691007..9d920faa 100644
--- a/other/wrapper/nzbhydra2wrapperPy3.py
+++ b/other/wrapper/nzbhydra2wrapperPy3.py
@@ -283,11 +283,6 @@ def startup():
global jarFile, process, args, unknownArgs, consoleLines
basePath = getBasePath()
- readme = os.path.join(basePath, "readme.md")
- if not os.path.exists(readme):
- logger.critical("Unable to determine base path correctly. Please make sure to run NZBHydra in the folder where its binary is located. Current base path: " + basePath)
- sys.exit(-1)
-
debugSwitchFile = os.path.join(args.datafolder, "DEBUG")
if os.path.exists(debugSwitchFile):
logger.setLevel("DEBUG")
@@ -297,10 +292,7 @@ def startup():
logger.info("Setting wrapper log level to DEBUG")
isWindows = platform.system().lower() == "windows"
- libFolder = os.path.join(basePath, "lib")
- if not os.path.exists(libFolder):
- logger.critical("Error: Lib folder %s not found. An update might've failed or the installation folder is corrupt", libFolder)
- sys.exit(-1)
+ libFolder = basePath
jarFiles = [os.path.join(libFolder, f) for f in os.listdir(libFolder) if os.path.isfile(os.path.join(libFolder, f)) and f.endswith(".jar")]
if len(jarFiles) == 0:
|