Skip to content

Commit ca99228

Browse files
Fix missing method call (#1227)
Noticed this in python/mypy#13686 (comment)
1 parent 1e359e6 commit ca99228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bandersnatch/simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def sync_index_page(
248248
for pkg in self.find_package_indexes_in_dir(subdir):
249249
# We're really trusty that this is all encoded in UTF-8. :/
250250
f.write(f' <a href="{pkg}/">{pkg}</a><br/>\n')
251-
if self.json_enabled:
251+
if self.json_enabled():
252252
simple_json["projects"].append({"name": pkg})
253253
f.write(" </body>\n</html>")
254254

0 commit comments

Comments
 (0)