X-Git-Url: https://git.ralfj.de/lilass.git/blobdiff_plain/81f1e56c835867f42af94c89f20a880d81ee5b22..4a96a6beedb82ccb2df60a1b358e5ff7741a0191:/lilass diff --git a/lilass b/lilass index 02345f9..7b94e18 100755 --- a/lilass +++ b/lilass @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # DSL - easy Display Setup for Laptops # Copyright (C) 2012-2015 Ralf Jung # @@ -106,7 +106,7 @@ if __name__ == "__main__": frontend = gui.getFrontend(cmdArgs.frontend) # load configuration - config = loadConfigFile(os.getenv('HOME') + '/.dsl.conf') + config = loadConfigFile(os.getenv('HOME') + '/.lilass.conf') # see what situation we are in situation = situationByConfig(config) @@ -146,5 +146,5 @@ if __name__ == "__main__": if setup.extResolution is None: turnOnBacklight() except Exception as e: + raise e frontend.error(str(e)) - raise