diff --git a/randstrip.py b/randstrip.py index 33ad0ca..d27a991 100755 --- a/randstrip.py +++ b/randstrip.py @@ -167,7 +167,7 @@ def readConfig(profile=False,platform=False): checkProfile = config[profile] except KeyError: print("Profile "+profile+" not found") - quit() + profile = config["defaultProfile"] saveLocation = checkLocal(config[profile]["saveLocation"]) imagesLocation = checkLocal(config[profile]["imagesLocation"]) csvLocation = checkLocal(config[profile]["csvLocation"])