]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
support/css.py: little fix (V)
authorJaroslav Kysela <perex@perex.cz>
Thu, 14 May 2015 09:43:57 +0000 (11:43 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 14 May 2015 09:43:57 +0000 (11:43 +0200)
support/css.py

index b97cc56b4160dd84019b57edf06046747f6a4cee..8bbf00d75d2a97bc814dbaf20e0353c7ecfd71cc 100755 (executable)
@@ -5,7 +5,7 @@
 
 import sys, os
 
-VERBOSE = len(os.environ['V'] or '') > 0
+VERBOSE = 'V' in os.environ and len(os.environ['V']) > 0
 TVHDIR = os.path.realpath('.')
 
 def info(fmt, *msg):