diff options
author | luxagraf <sng@luxagraf.net> | 2016-05-17 11:02:31 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-05-17 11:02:31 -0400 |
commit | ee3db95b0deca7d7767bb62a073a80c3a3681eeb (patch) | |
tree | cb8257502540d28295e16b87cf621163f8ab58f1 /app/builder | |
parent | 5a4f7455ffb3c02d6ddf4fd67cba3f73d254f20b (diff) |
fixed a bug in amp builder and added a size hint to image upload on
post.
Diffstat (limited to 'app/builder')
-rw-r--r-- | app/builder/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/builder/base.py b/app/builder/base.py index 1507ece..dc85451 100644 --- a/app/builder/base.py +++ b/app/builder/base.py @@ -130,7 +130,7 @@ class BuildNew(): ''' for entry in self.get_model_queryset(): # write AMP - response = self.client.get('%s.amp' % url) + response = self.client.get('%s.amp' % entry.get_absolute_url()) self.write_file(path, response.content, ext='amp', filename=slug) |