mirror of
https://github.com/gmbrax/Pilgrim.git
synced 2026-11-09 17:20:17 +00:00
Added the sidebar to add images, and modals to manage photo
This commit is contained in:
parent
14055770e7
commit
84b0397263
@@ -1,4 +1,5 @@
|
||||
from pilgrim.service.entry_service import EntryService
|
||||
from pilgrim.service.photo_service import PhotoService
|
||||
from pilgrim.service.travel_diary_service import TravelDiaryService
|
||||
|
||||
|
||||
@@ -17,3 +18,7 @@ class ServiceManager:
|
||||
if self.session is not None:
|
||||
return TravelDiaryService(self.session)
|
||||
return None
|
||||
def get_photo_service(self):
|
||||
if self.session is not None:
|
||||
return PhotoService(self.session)
|
||||
return None
|
||||
Reference in New Issue
Block a user