From a3016227b4f6409b808264341a3e66deb66db653 Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Wed, 15 Mar 2017 12:22:27 -0700 Subject: [PATCH] oops, that surt needs to be a string for rethinkdb --- setup.py | 2 +- warcprox/bigtable.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 806ae0a..c7db0dd 100755 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ except: setuptools.setup( name='warcprox', - version='2.1b1.dev56', + version='2.1b1.dev57', description='WARC writing MITM HTTP/S proxy', url='https://github.com/internetarchive/warcprox', author='Noah Levitt', diff --git a/warcprox/bigtable.py b/warcprox/bigtable.py index f80d876..c32a665 100644 --- a/warcprox/bigtable.py +++ b/warcprox/bigtable.py @@ -159,7 +159,7 @@ class RethinkCaptures: else: bucket = "__unspecified__" - canon_surt = urlcanon.semantic(recorded_url.url).__bytes__() + canon_surt = str(urlcanon.semantic(recorded_url.url)) entry = { # id only specified for rethinkdb partitioning