Browse Source

Fix index starting at 0 instead of 1

master
parent
commit
fd82163f19
  1. 2
      plugins/media_page.py

2
plugins/media_page.py

@ -78,7 +78,7 @@ def generate_media_pages(gallery):
media_groups = zip(medias, next_medias, previous_medias)
for idx, media_group in enumerate(media_groups):
writer.write(album, media_group, idx)
writer.write(album, media_group, idx + 1)
def register(settings):

Loading…
Cancel
Save