From 07a49baddae6c2367f544ae30322432134d3ba2f Mon Sep 17 00:00:00 2001 From: Kfir Dayan Date: Tue, 9 Jan 2024 10:23:57 +0200 Subject: [PATCH] fixing naming --- app.py | 4 ++-- services/EventNotifyerService.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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