less logging
This commit is contained in:
@@ -204,10 +204,9 @@ class Command(BaseCommand):
|
|||||||
# Concept2
|
# Concept2
|
||||||
rowers = Rower.objects.filter(c2_auto_import=True)
|
rowers = Rower.objects.filter(c2_auto_import=True)
|
||||||
for r in rowers:
|
for r in rowers:
|
||||||
with open('c2_auto_import.log','a') as logfile:
|
|
||||||
logfile.write(str(timezone.now())+" "+str(r.user)+" \n")
|
|
||||||
if user_is_not_basic(r.user):
|
if user_is_not_basic(r.user):
|
||||||
with open('c2_auto_import.log','a') as logfile:
|
with open('c2_auto_import.log','a') as logfile:
|
||||||
|
logfile.write(str(timezone.now())+" "+str(r.user)+" \n")
|
||||||
logfile.write(' getting workouts \n')
|
logfile.write(' getting workouts \n')
|
||||||
c2stuff.get_c2_workouts(r)
|
c2stuff.get_c2_workouts(r)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user