diff --git a/notebooks/LPD/LPD_Correct_Fast.ipynb b/notebooks/LPD/LPD_Correct_Fast.ipynb
index db635d17b8dc43ac1075e491cbb1e003cbc4c923..bec0702fefe99acf3bea632f7e9c969acbe43238 100644
--- a/notebooks/LPD/LPD_Correct_Fast.ipynb
+++ b/notebooks/LPD/LPD_Correct_Fast.ipynb
@@ -220,7 +220,7 @@
     "        from sys import exit\n",
     "        exit(0)\n",
     "    elif pulse_count is None:\n",
-    "        raise ValueError('Affected files contain no LPD frames and SA1 pulses\n",
+    "        raise ValueError('Affected files contain no LPD frames and SA1 pulses '\n",
     "                         'could not be inferred from XGM data')\n",
     "    else:\n",
     "        raise ValueError('Affected files contain no LPD frames but SA1 pulses')\n",