We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e359e6 commit ca99228Copy full SHA for ca99228
src/bandersnatch/simple.py
@@ -248,7 +248,7 @@ def sync_index_page(
248
for pkg in self.find_package_indexes_in_dir(subdir):
249
# We're really trusty that this is all encoded in UTF-8. :/
250
f.write(f' <a href="{pkg}/">{pkg}</a><br/>\n')
251
- if self.json_enabled:
+ if self.json_enabled():
252
simple_json["projects"].append({"name": pkg})
253
f.write(" </body>\n</html>")
254
0 commit comments