Commit 2aca7f5e authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Merge branch 'feature-logging' into develop

parents 230be78e b3bb083f
......@@ -50,10 +50,12 @@ class _command_init(object):
pass
def _update_low_level_log(self):
if hasattr(self, 'client'):
try:
self.client.LOG_TOKEN, self.client.LOG_DATA = (
self['config'].get('global', 'log_token') == 'on',
self['config'].get('global', 'log_data') == 'on')
except:
pass
def _safe_progress_bar(self, msg, arg='progress_bar'):
"""Try to get a progress bar, but do not raise errors"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment