Index: trunk/extensions/SwiftMedia/wmf/rewrite.py |
— | — | @@ -142,7 +142,7 @@ |
143 | 143 | try: |
144 | 144 | last_modified = time.mktime(uinfo.getdate('Last-Modified')) |
145 | 145 | except TypeError: |
146 | | - last_modified = time.localtime() |
| 146 | + last_modified = time.mktime(time.localtime()) |
147 | 147 | |
148 | 148 | if self.writethumb: |
149 | 149 | # Fetch from upload, write into the cluster, and return it |