adding notification
This commit is contained in:
@@ -93,15 +93,15 @@ class Command(BaseCommand):
|
||||
lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
|
||||
dologging('processemail.log', ''.join('!! ' + line for line in lines))
|
||||
|
||||
rowers = Rower.objects.filter(rp3_auto_import=True)
|
||||
for r in rowers: # pragma: no cover
|
||||
try:
|
||||
rp3_integration = RP3Integration(r.user)
|
||||
_ = rp3_integration.get_workouts()
|
||||
except: # pragma: no cover
|
||||
exc_type, exc_value, exc_traceback = sys.exc_info()
|
||||
lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
|
||||
dologging('processemail.log', ''.join('!! ' + line for line in lines))
|
||||
#rowers = Rower.objects.filter(rp3_auto_import=True)
|
||||
#for r in rowers: # pragma: no cover
|
||||
# try:
|
||||
# rp3_integration = RP3Integration(r.user)
|
||||
# _ = rp3_integration.get_workouts()
|
||||
# except: # pragma: no cover
|
||||
# exc_type, exc_value, exc_traceback = sys.exc_info()
|
||||
# lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
|
||||
# dologging('processemail.log', ''.join('!! ' + line for line in lines))
|
||||
|
||||
rowers = Rower.objects.filter(nk_auto_import=True)
|
||||
for r in rowers: # pragma: no cover
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user