projects
/
lilass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Detect absence of a TTY, and refuse to use the CLI backend interactively in that...
[lilass.git]
/
lilass
diff --git
a/lilass
b/lilass
index f9363ead2de7146b01c1c55ae80c61fbcb0da960..49dbeea61d24fa251af53a6702de379c495e43a6 100755
(executable)
--- 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 <post@ralfj.de>
#
# DSL - easy Display Setup for Laptops
# Copyright (C) 2012-2015 Ralf Jung <post@ralfj.de>
#
@@
-147,4
+147,3
@@
if __name__ == "__main__":
turnOnBacklight()
except Exception as e:
frontend.error(str(e))
turnOnBacklight()
except Exception as e:
frontend.error(str(e))
- raise