diff --git a/src/xfel_calibrate/calibrate.py b/src/xfel_calibrate/calibrate.py
index 6d2d3104921b1dc3e881b2807d3104bd58eeace6..fa14605bf1068aa43b0e512332b607ed0afb0b74 100755
--- a/src/xfel_calibrate/calibrate.py
+++ b/src/xfel_calibrate/calibrate.py
@@ -576,9 +576,12 @@ def run(argv=None):
     # Ensure files are opened as UTF-8 by default, regardless of environment.
     if "readthedocs.org" not in sys.executable:
         locale.setlocale(locale.LC_CTYPE, ('en_US', 'UTF-8'))
+
     if argv is None:
         argv = sys.argv
+
     args, nb_details = parse_argv_and_load_nb(argv)
+
     concurrency = nb_details.concurrency
     concurrency_par = args["concurrency_par"] or concurrency['parameter']
     if concurrency_par == concurrency['parameter']: