File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- """app.services.location.locationFactory .py"""
1+ """app.services.location.Singleton .py"""
22import csv
33import logging
44import os
1818from ...utils import httputils
1919from . import LocationService
2020
21- LOGGER = logging .getLogger ("services.location.locationFactory " )
21+ LOGGER = logging .getLogger ("services.location.Singleton " )
2222
23- class LocationServiceFactory (LocationService ):
23+ class LocationServices (LocationService ):
2424 async def get_all (self ):
2525 # Get the locations.
2626 locations = await get_locations ()
@@ -323,7 +323,7 @@ async def get_category(category):
323323
324324@cached (cache = TTLCache (maxsize = 1 , ttl = 1800 ))
325325async def get_locations ():
326- thisTemp = LocationServiceFactory ()
326+ thisTemp = LocationServices ()
327327 if something == "nyt" :
328328 return thisTemp .createNYT ()
329329 elif something == "csbs" :
You can’t perform that action at this time.
0 commit comments