Checkdeps fix

- an exception can be triggered if too many requirements are fulfilled
This commit is contained in:
Peter Šurda 2019-12-03 12:59:27 +01:00
parent 9119507b03
commit 168c4a5696
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -164,7 +164,7 @@ if (not compiler or prereqs) and OPSYS in PACKAGE_MANAGER:
if not compiler: if not compiler:
compilerToPackages() compilerToPackages()
prereqToPackages() prereqToPackages()
if mandatory: if prereqs and mandatory:
sys.exit(1) sys.exit(1)
else: else:
print("All the dependencies satisfied, you can install PyBitmessage") print("All the dependencies satisfied, you can install PyBitmessage")