summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-13 18:24:00 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-13 18:24:00 -0700
commitdb451c8c1733c8a209aa9144ffdf7bf8de57c1f1 (patch)
tree25d978d040ad350755a9631f60364967e1069eab /python/fatcat_tools
parentb6c6465091a6f5484782fe8c90690d147b4e2296 (diff)
downloadfatcat-db451c8c1733c8a209aa9144ffdf7bf8de57c1f1.tar.gz
fatcat-db451c8c1733c8a209aa9144ffdf7bf8de57c1f1.zip
python: impl size_bytes -> size
Diffstat (limited to 'python/fatcat_tools')
-rwxr-xr-xpython/fatcat_tools/importers/wayback_static.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/wayback_static.py b/python/fatcat_tools/importers/wayback_static.py
index c4f4f21e..b4b1111e 100755
--- a/python/fatcat_tools/importers/wayback_static.py
+++ b/python/fatcat_tools/importers/wayback_static.py
@@ -120,7 +120,7 @@ def lookup_cdx(embed_url, verify_hashes=True, cdx_output=None):
resp.raise_for_status()
assert webcapture_cdx.sha1 == hashlib.sha1(resp.content).digest().hex()
webcapture_cdx.sha256 = hashlib.sha256(resp.content).digest().hex()
- webcapture_cdx.size_bytes = len(resp.content)
+ webcapture_cdx.size = len(resp.content)
return webcapture_cdx
else:
return None