aboutsummaryrefslogtreecommitdiffstats
path: root/extra/fixups
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-09-05 18:54:39 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-09-05 18:54:39 -0700
commita65dfc914517376b5ededb82e594236c5d61c721 (patch)
tree381a5d346dfad7f020c344d2c4740eefb71be61d /extra/fixups
parent28d2d94a9100c1a809955cde93fdbb7a36263057 (diff)
downloadfatcat-a65dfc914517376b5ededb82e594236c5d61c721.tar.gz
fatcat-a65dfc914517376b5ededb82e594236c5d61c721.zip
update all other mentions of python client lib
Diffstat (limited to 'extra/fixups')
-rwxr-xr-xextra/fixups/fixup_longtail_issnl_unique.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/fixups/fixup_longtail_issnl_unique.py b/extra/fixups/fixup_longtail_issnl_unique.py
index 385b0e29..ea615a13 100755
--- a/extra/fixups/fixup_longtail_issnl_unique.py
+++ b/extra/fixups/fixup_longtail_issnl_unique.py
@@ -54,7 +54,7 @@ import json
import sqlite3
import itertools
-import fatcat_client
+import fatcat_openapi_client
from fatcat_tools import authenticated_api
from fatcat_tools.importers.common import EntityImporter, clean, LinePusher
from fatcat_tools.importers.arabesque import b32_hex
@@ -149,7 +149,7 @@ class LongtailIssnlSingleDomainFixup(EntityImporter):
#print(sha1)
try:
file_entity = self.api.lookup_file(sha1=sha1, expand="releases")
- except fatcat_client.rest.ApiException as err:
+ except fatcat_openapi_client.rest.ApiException as err:
if err.status == 404:
self.counts['skip-file-not-found'] += 1
return None