eventplanner_gcal: PEP coding style

This commit is contained in:
Martin Bauer
2019-01-05 13:04:20 +01:00
parent aaf1528426
commit e2c8915321
10 changed files with 243 additions and 232 deletions

View File

@@ -1,9 +1,11 @@
from django.core.management.base import NoArgsCommand
from eventplanner_gcal.google_sync import checkGCalSubscription
from eventplanner_gcal.google_sync import check_gcal_subscription
class Command(NoArgsCommand):
help = 'Checks if the GCal notification channel is still active'
def handle_noargs(self, **options):
print ( "Checking Subscription")
checkGCalSubscription()
print("Checking Subscription")
check_gcal_subscription()