Skip to content

Commit f5fc1c2

Browse files
committed
Code cleanup and a couple of silly bug fixes
1 parent ce80924 commit f5fc1c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sources/directory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def get_photos():
99
album names correspond to folders. Sub-folders are converted to regular albums, as Lychee does not support
1010
sub-albums. Files in the root directory are put into the Unsorted album ("{unsorted}" is the key name).
1111
12-
:return: dictionary with
12+
:return: dictionary with album names and image paths.
1313
"""
1414

1515
albums = {}
@@ -38,6 +38,7 @@ def get_photos():
3838
def _get_album_name(rel_path):
3939
"""
4040
Convert folder a file resides in into an album name
41+
:param
4142
"""
4243
return rel_path.split(os.sep)[-1]
4344

0 commit comments

Comments
 (0)