diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-13 18:24:00 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-13 18:24:00 -0700 |
commit | db451c8c1733c8a209aa9144ffdf7bf8de57c1f1 (patch) | |
tree | 25d978d040ad350755a9631f60364967e1069eab /python/fatcat_tools | |
parent | b6c6465091a6f5484782fe8c90690d147b4e2296 (diff) | |
download | fatcat-db451c8c1733c8a209aa9144ffdf7bf8de57c1f1.tar.gz fatcat-db451c8c1733c8a209aa9144ffdf7bf8de57c1f1.zip |
python: impl size_bytes -> size
Diffstat (limited to 'python/fatcat_tools')
-rwxr-xr-x | python/fatcat_tools/importers/wayback_static.py | 2 |
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 |