summaryrefslogtreecommitdiffstats
path: root/extra/fixups
diff options
context:
space:
mode:
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