diff options
Diffstat (limited to 'app/jrnl/build.py')
-rw-r--r-- | app/jrnl/build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/jrnl/build.py b/app/jrnl/build.py index 0b3826a..dcebace 100644 --- a/app/jrnl/build.py +++ b/app/jrnl/build.py @@ -46,13 +46,14 @@ class BuildJrnl(BuildNew): status__exact=1, location__state__country__lux_region=c.id ) + print(c) pages = self.get_pages(qs, 24) for page in range(pages): base_path = reverse("jrnl:list_country", kwargs={'slug': c.slug, 'page': page + 1}) response = self.client.get(base_path) print(response.content) if page == 0: - self.write_file(base_path[:-2], response.content) + self.write_file(base_path, response.content) else: self.write_file(base_path, response.content) |