diff --git a/docs/pyerrors/input/hadrons.html b/docs/pyerrors/input/hadrons.html
index 09026c97..fa8fca0e 100644
--- a/docs/pyerrors/input/hadrons.html
+++ b/docs/pyerrors/input/hadrons.html
@@ -104,7 +104,7 @@
11 ls = os.listdir(path)
12
13 # Clean up file list
- 14 files = list(filter(lambda x: x.startswith(filestem), ls))
+ 14 files = list(filter(lambda x: x.startswith(filestem + "."), ls))
15
16 if not files:
17 raise Exception('No files starting with', filestem, 'in folder', path)