diff options
author | MaZderMind <github@mazdermind.de> | 2016-01-13 13:15:47 +0100 |
---|---|---|
committer | MaZderMind <github@mazdermind.de> | 2016-01-13 13:15:47 +0100 |
commit | 603bace75192efd80e0facc5454af5f1fd3651a3 (patch) | |
tree | 906212a38c1febdb596edd38fbc7cb67685dfe5e | |
parent | 4cc574b84624b1ed33ce50a9122edddd001e0c27 (diff) |
arg is a boolean
-rwxr-xr-x | voctocore/voctocore.py | 3 |
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: |