Browse Source

Cleanup

tags/1.9.7
falkTX 9 years ago
parent
commit
234543fae0
7 changed files with 7 additions and 7 deletions
  1. +1
    -1
      source/carla
  2. +1
    -1
      source/carla-control
  3. +1
    -1
      source/carla-patchbay
  4. +1
    -1
      source/carla-rack
  5. +1
    -1
      source/carla_database.py
  6. +1
    -1
      source/carla_settings.py
  7. +1
    -1
      source/carla_shared.py

+ 1
- 1
source/carla View File

@@ -28,7 +28,7 @@ if __name__ == '__main__':
# -------------------------------------------------------------
# Read CLI args

initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else sys.argv[0])
initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None)

# -------------------------------------------------------------
# App initialization


+ 1
- 1
source/carla-control View File

@@ -28,7 +28,7 @@ if __name__ == '__main__':
# -------------------------------------------------------------
# Read CLI args

initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else sys.argv[0])
initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None)

for arg in sys.argv:
if arg.startswith("osc."):


+ 1
- 1
source/carla-patchbay View File

@@ -28,7 +28,7 @@ if __name__ == '__main__':
# -------------------------------------------------------------
# Read CLI args

initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else sys.argv[0])
initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None)

# -------------------------------------------------------------
# App initialization


+ 1
- 1
source/carla-rack View File

@@ -28,7 +28,7 @@ if __name__ == '__main__':
# -------------------------------------------------------------
# Read CLI args

initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else sys.argv[0])
initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None)

# -------------------------------------------------------------
# App initialization


+ 1
- 1
source/carla_database.py View File

@@ -1708,7 +1708,7 @@ if __name__ == '__main__':
from carla_app import CarlaApplication
from carla_host import initHost, loadHostSettings

initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else sys.argv[0])
initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None)

app = CarlaApplication("Carla2-Database", libPrefix)
host = initHost("Carla2-Database", libPrefix, False, False, False)


+ 1
- 1
source/carla_settings.py View File

@@ -851,7 +851,7 @@ if __name__ == '__main__':
from carla_app import CarlaApplication
from carla_host import initHost, loadHostSettings

initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else sys.argv[0])
initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None)

app = CarlaApplication("Carla2-Settings", libPrefix)
host = initHost("Carla2-Settings", libPrefix, False, False, False)


+ 1
- 1
source/carla_shared.py View File

@@ -545,7 +545,7 @@ def getIcon(icon, size = 16):
# Handle some basic command-line arguments shared between all carla variants

def handleInitialCommandLineArguments(file):
initName = os.path.basename(file) if ("__file__" in dir() and os.path.dirname(file) in PATH) else sys.argv[0]
initName = os.path.basename(file) if (file is not None and os.path.dirname(file) in PATH) else sys.argv[0]
libPrefix = None

for arg in sys.argv[1:]:


Loading…
Cancel
Save