fixing naming
This commit is contained in:
parent
3c9e7bca64
commit
07a49badda
2 changed files with 3 additions and 3 deletions
4
app.py
4
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():
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue