Skip to content

Commit

Permalink
fix non windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Aug 21, 2024
1 parent 8de85ce commit 258e484
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(self):
backendHandler = BackendHandler(self)
backendHandler.enableCorrectBackends()
backendHandler.setupBackendDeps()
backendHandler.recursivlyCheckIfDepsOnFirstInstallToMakeSureUserHasInstalledAtLeastOneBackend(
self.backends, self.fullOutput = backendHandler.recursivlyCheckIfDepsOnFirstInstallToMakeSureUserHasInstalledAtLeastOneBackend(
firstIter=True
)

Expand All @@ -117,7 +117,6 @@ def __init__(self):
self.stackedWidget.setCurrentIndex(0)

self.QConnect()
self.backends, self.fullOutput = backendHandler.getAvailableBackends()
# set up tabs
self.backendComboBox.addItems(self.backends)
printOut = (
Expand Down
2 changes: 1 addition & 1 deletion src/Backendhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def recursivlyCheckIfDepsOnFirstInstallToMakeSureUserHasInstalledAtLeastOneBacke
"""
try:
self.availableBackends, self.fullOutput = self.getAvailableBackends()

return self.availableBackends, self.fullOutput
except SyntaxError as e:
printAndLog(str(e))
if not firstIter:
Expand Down
2 changes: 1 addition & 1 deletion src/Util.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def getCPUInfo() -> str:
print(f"An error occurred while getting CPU brand: {e}")
return None
else:
cpuinfo.get_cpu_info()["brand_raw"]
return cpuinfo.get_cpu_info()["brand_raw"]


def pythonPath() -> str:
Expand Down
Binary file modified src/ui/__pycache__/DownloadTab.cpython-311.pyc
Binary file not shown.
Binary file modified src/ui/__pycache__/MoreTab.cpython-311.pyc
Binary file not shown.
Binary file modified src/ui/__pycache__/ProcessTab.cpython-311.pyc
Binary file not shown.
Binary file modified src/ui/__pycache__/QTcustom.cpython-311.pyc
Binary file not shown.
Binary file modified src/ui/__pycache__/QTstyle.cpython-311.pyc
Binary file not shown.
Binary file modified src/ui/__pycache__/SettingsTab.cpython-311.pyc
Binary file not shown.

0 comments on commit 258e484

Please sign in to comment.