diff --git a/emdn-tap.py b/emdn-tap.py index 09ea4d37..9ceb3c36 100644 --- a/emdn-tap.py +++ b/emdn-tap.py @@ -164,7 +164,7 @@ def warning(*args, **kwargs): import datetime now = datetime.datetime.now().strftime('%Y-%m-%dT%H:%M:%S') - warning(now, *args, file=warningFh, **kwargs) + print(now, *args, file=warningFh, **kwargs) if warning.verbose: print('#', *args, **kwargs)