oops, that surt needs to be a string for rethinkdb

This commit is contained in:
Noah Levitt 2017-03-15 12:22:27 -07:00
parent fed8dfa978
commit a3016227b4
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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