2014-04-19 20:36:01 +02:00
|
|
|
from django.core.management.base import NoArgsCommand
|
|
|
|
|
2014-04-26 11:17:10 +02:00
|
|
|
from eventplanner_gcal.google_sync import checkGCalSubscription
|
2014-04-19 20:36:01 +02:00
|
|
|
|
|
|
|
class Command(NoArgsCommand):
|
|
|
|
help = 'Checks if the GCal notification channel is still active'
|
|
|
|
def handle_noargs(self, **options):
|
|
|
|
print ( "Checking Subscription")
|
|
|
|
checkGCalSubscription()
|