Przeglądaj źródła

Remove a useless for-else

master
Marien Fressinaud 5 lat temu
rodzic
commit
8d892315ff
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1
    2
      boop.py

+ 1
- 2
boop.py Wyświetl plik

@@ -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):

Ładowanie…
Anuluj
Zapisz