This website works better with JavaScript.
Home
Explore
Help
Sign In
davidbgk
/
media-larlet-fr
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Remove a useless for-else
master
Marien Fressinaud
6 years ago
parent
a62e172f26
commit
8d892315ff
1 changed files
with
1 additions
and
2 deletions
Split View
Show Diff Stats
1
2
boop.py
+ 1
- 2
boop.py
View File
@@ -86,8 +86,7 @@ def find_photo(photos, photo_name):
for photo in photos:
if photo["name"] == photo_name:
return photo
else:
return None
return None
def list_photos_in(gallery_dir, gallery_output_path):
Write
Preview
Loading…
Cancel
Save