浏览代码

Add log when there are no galleries

master
Marien Fressinaud 6 年前
父节点
当前提交
7ec1fd0cde
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      boop.py

+ 1
- 0
boop.py 查看文件

@@ -242,6 +242,7 @@ def main():
pictures_folder = os.path.join(os.curdir, PICTURES_DIR_NAME)
galleries = list(list_galleries_in(pictures_folder))
if len(galleries) == 0:
print(f"No galleries found in {pictures_folder}")
return
galleries.sort(key=itemgetter("name"))
print(f"{len(galleries)} galleries found.")

正在加载...
取消
保存