diff options
author | luxagraf <sng@luxagraf.net> | 2016-05-17 11:04:36 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-05-17 11:04:36 -0400 |
commit | 9d4432747d91d236b2fe0e05e257db280b6d8fd6 (patch) | |
tree | c664f0a901d5ecdacba2c5e4cca6bf83a35dfaeb | |
parent | ee3db95b0deca7d7767bb62a073a80c3a3681eeb (diff) |
fixed another amp build bug
-rw-r--r-- | app/builder/base.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/builder/base.py b/app/builder/base.py index dc85451..94f1eee 100644 --- a/app/builder/base.py +++ b/app/builder/base.py @@ -131,6 +131,8 @@ class BuildNew(): for entry in self.get_model_queryset(): # write AMP response = self.client.get('%s.amp' % entry.get_absolute_url()) + path, slug = os.path.split(entry.get_absolute_url()) + path = '%s/' % path self.write_file(path, response.content, ext='amp', filename=slug) |