summaryrefslogtreecommitdiffstats
path: root/python/fatcat_import.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_import.py')
-rwxr-xr-xpython/fatcat_import.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/fatcat_import.py b/python/fatcat_import.py
index fb8830ca..5b97d3a8 100755
--- a/python/fatcat_import.py
+++ b/python/fatcat_import.py
@@ -1,10 +1,16 @@
#!/usr/bin/env python3
import os, sys, argparse
+import raven
+
from fatcat_tools import authenticated_api
from fatcat_tools.importers import *
+# Yep, a global. Gets DSN from `SENTRY_DSN` environment variable
+sentry_client = raven.Client()
+
+
def run_crossref(args):
fci = CrossrefImporter(args.api,
args.issn_map_file,