summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/cdl_dash_dat.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/importers/cdl_dash_dat.py')
-rwxr-xr-xpython/fatcat_tools/importers/cdl_dash_dat.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_tools/importers/cdl_dash_dat.py b/python/fatcat_tools/importers/cdl_dash_dat.py
index aa7fab2b..536c013b 100755
--- a/python/fatcat_tools/importers/cdl_dash_dat.py
+++ b/python/fatcat_tools/importers/cdl_dash_dat.py
@@ -9,8 +9,8 @@ import hashlib
import mimetypes
import subprocess
-import fatcat_client
-from fatcat_client import *
+import fatcat_openapi_client
+from fatcat_openapi_client import *
from .common import clean
from .crossref import lookup_license_slug
@@ -176,7 +176,7 @@ def auto_cdl_dash_dat(api, dat_path, release_id=None, editgroup_id=None):
try:
r = api.lookup_release(doi=release.ext_ids.doi)
release_id = r.ident
- except fatcat_client.rest.ApiException:
+ except fatcat_openapi_client.rest.ApiException:
pass
if not release_id:
edit = api.create_release(eg.editgroup_id, release)