Skip to content

Commit

Permalink
track dto files
Browse files Browse the repository at this point in the history
  • Loading branch information
thebino committed Mar 11, 2021
1 parent c4224a3 commit 7ce66a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/addons/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async def get(self, core: ApplicationCore, request: web.Request) -> web.Response

# iterate through photos
for photo in user_photos:
_LOGGER.debug(f"get additional data for {photo}")
_LOGGER.debug(f"get additional data for {photo.filepath}")

# photo location
location = None
Expand All @@ -85,7 +85,7 @@ async def get(self, core: ApplicationCore, request: web.Request) -> web.Response
tags = ["landscape", "sky", "night"]

# add photo to results
results.add(
results.append(
Photo(
name="DSC_2340-HDR.jpg",
description="",
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
"core",
"core.addons",
"core.authentication",
"core.authentication.dto",
"core.authorization",
"core.persistency",
"core.persistency.dto",
"core.utils",
"core.webserver",
],
Expand Down

0 comments on commit 7ce66a7

Please sign in to comment.