diff options
Diffstat (limited to 'wikibania/ban')
-rw-r--r-- | wikibania/ban/BanDB.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wikibania/ban/BanDB.py b/wikibania/ban/BanDB.py index e83aa3c..e0b691f 100644 --- a/wikibania/ban/BanDB.py +++ b/wikibania/ban/BanDB.py | |||
@@ -29,7 +29,7 @@ class BanDB: | |||
29 | def dump_file(self, file_name): | 29 | def dump_file(self, file_name): |
30 | with open(file_name, "w") as file: | 30 | with open(file_name, "w") as file: |
31 | ban_list = self.dump() | 31 | ban_list = self.dump() |
32 | json.dump(ban_list, file) | 32 | json.dump(ban_list, file, indent="\t") |
33 | 33 | ||
34 | def fetch(self, nb_samples, query_limit=500, continue_token=None): | 34 | def fetch(self, nb_samples, query_limit=500, continue_token=None): |
35 | fetch = min(nb_samples, query_limit) | 35 | fetch = min(nb_samples, query_limit) |