Browse Source

Add secret options for laptop system

tags/1.9.8
falkTX 7 years ago
parent
commit
5dd825d9ae
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/carla_host.py

+ 2
- 1
source/carla_host.py View File

@@ -351,7 +351,8 @@ class HostWindow(QMainWindow):
# ----------------------------------------------------------------------------------------------------
# Set up GUI (secrets when running local)

if CWD != "/Shared/Personal/FOSS/GIT/falkTX/Carla/source":
if CWD not in ("/Shared/Personal/FOSS/GIT/falkTX/Carla/source",
"/home/falktx/Personal/GIT-mine/falkTX/Carla/source"):
self.ui.menu_Secrets.menuAction().setVisible(False)

# ----------------------------------------------------------------------------------------------------


Loading…
Cancel
Save