aboutsummaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2016-01-13 13:15:47 +0100
committerMaZderMind <github@mazdermind.de>2016-01-13 13:15:47 +0100
commit603bace75192efd80e0facc5454af5f1fd3651a3 (patch)
tree906212a38c1febdb596edd38fbc7cb67685dfe5e /voctocore
parent4cc574b84624b1ed33ce50a9122edddd001e0c27 (diff)
arg is a boolean
Diffstat (limited to 'voctocore')
-rwxr-xr-xvoctocore/voctocore.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/voctocore/voctocore.py b/voctocore/voctocore.py
index bf9b973..e834a58 100755
--- a/voctocore/voctocore.py
+++ b/voctocore/voctocore.py
@@ -56,9 +56,8 @@ class Voctocore(object):
def main():
# configure logging
docolor = (Args.color == 'always') or (Args.color == 'auto' and sys.stderr.isatty())
- timestamp = Args.timestamp > 0
- handler = LogHandler(docolor,timestamp)
+ handler = LogHandler(docolor, Args.timestamp)
logging.root.addHandler(handler)
if Args.verbose >= 2: