Compare commits

..

No commits in common. "eec0828ddaa3e24abf6958b78cd79f40fca1c523" and "2a30408bf04b50a4287ea52689bb189feb9dbc16" have entirely different histories.

View File

@ -24,8 +24,6 @@ class Command(BaseCommand):
if response.status_code != 200:
continue
Snapshot.objects.create(project=project, data=response.json())
if not project.stats_cron:
continue
cron = croniter.croniter(project.stats_cron, timezone.now())
next_date = cron.get_next(datetime.datetime)
project.next_stats_fetch_time = next_date