diff --git a/morss.py b/morss.py index 6cd1e87..9f5ad3d 100644 --- a/morss.py +++ b/morss.py @@ -241,7 +241,7 @@ class SimpleDownload(urllib2.HTTPCookieProcessor): if not self.strict: out['*/*'] = rank-0.1 - string = ','.join([x+';q={:.1}'.format(out[x]) if out[x] != 1 else x for x in out]) + string = ','.join([x+';q={0:.1}'.format(out[x]) if out[x] != 1 else x for x in out]) log(string) req.add_unredirected_header('Accept', string)