Skip to content

Commit

Permalink
Fix missing method call (#1227)
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra authored Sep 28, 2022
1 parent 1e359e6 commit ca99228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bandersnatch/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def sync_index_page(
for pkg in self.find_package_indexes_in_dir(subdir):
# We're really trusty that this is all encoded in UTF-8. :/
f.write(f' <a href="{pkg}/">{pkg}</a><br/>\n')
if self.json_enabled:
if self.json_enabled():
simple_json["projects"].append({"name": pkg})
f.write(" </body>\n</html>")

Expand Down

0 comments on commit ca99228

Please sign in to comment.