diff --git a/app.py b/app.py index 3a5cbc4..18b869d 100644 --- a/app.py +++ b/app.py @@ -10,7 +10,7 @@ from flask_jwt_extended.exceptions import NoAuthorizationError from jwt.exceptions import InvalidTokenError from datetime import timedelta from flask_apscheduler import APScheduler -from services.EventNotifyerService import EventNotifyerServer +from services.EventNotifyerService import EventNotifyerService class App: def __init__(self): @@ -65,7 +65,7 @@ class App: def locate_upcoming_events(self): with self.app.app_context(): - print(EventNotifyerServer.locate_upcoming_events()) + print(EventNotifyerService.locate_upcoming_events()) def run(self): with self.app.app_context(): diff --git a/services/EventNotifyerService.py b/services/EventNotifyerService.py index 2ff50d9..e2922a2 100644 --- a/services/EventNotifyerService.py +++ b/services/EventNotifyerService.py @@ -2,7 +2,7 @@ #this class will have a function that locates the upcomming events Using the Event service. from services.EventService import EventService -class EventNotifyerServer: +class EventNotifyerService: def __init__(self): pass