Skip to content

Commit 3f6a0e0

Browse files
committed
wider log output in --check-login
1 parent 48ec974 commit 3f6a0e0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tconnectsync/check.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import traceback
66
import pkg_resources
77
from datetime import datetime
8-
from pprint import pformat
8+
from pprint import pformat as pformat_base
99

1010
from .nightscout import NightscoutApi
1111
from .parser.nightscout import BASAL_EVENTTYPE, BOLUS_EVENTTYPE
@@ -232,4 +232,8 @@ def run_sanitize(s, sanitizedData):
232232
for k, v in sanitizedData.items():
233233
if v and len(str(v)) > 0:
234234
ret = ret.replace(str(v), '[%s]' % k)
235-
return ret
235+
return ret
236+
237+
def pformat(*args, **kwargs):
238+
kwargs['width'] = 160
239+
return pformat_base(*args, **kwargs)

0 commit comments

Comments
 (0)