diff options
author | 2012-09-02 18:58:01 +0200 | |
---|---|---|
committer | 2012-09-02 18:58:01 +0200 | |
commit | 2019b245e8c370d5b55b3e99e0da319d6a35146f (patch) | |
tree | c8f3a6b296b4fcc101ad3a46d68ef042b469a308 /bin | |
parent | euscan: Added XML output (diff) | |
download | euscan-2019b245e8c370d5b55b3e99e0da319d6a35146f.tar.gz euscan-2019b245e8c370d5b55b3e99e0da319d6a35146f.tar.bz2 euscan-2019b245e8c370d5b55b3e99e0da319d6a35146f.zip |
euscan: Adding config file support
Signed-off-by: volpino <fox91@anche.no>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/euscan | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -230,7 +230,8 @@ def parse_args(): def main(): """Parse command line and execute all actions.""" CONFIG['nocolor'] = ( - settings["NOCOLOR"] in ('yes', 'true') or not isatty + CONFIG['nocolor'] or + (settings["NOCOLOR"] in ('yes', 'true') or not isatty) ) if CONFIG['nocolor']: pp.output.nocolor() |