mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 20:13:41 +02:00
Merge branch 'develop' into documentation
This commit is contained in:
commit
47ab8e33a0
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ def _get_files(path, filestem, idl):
|
|||
ls = os.listdir(path)
|
||||
|
||||
# Clean up file list
|
||||
files = list(filter(lambda x: x.startswith(filestem), ls))
|
||||
files = list(filter(lambda x: x.startswith(filestem + "."), ls))
|
||||
|
||||
if not files:
|
||||
raise Exception('No files starting with', filestem, 'in folder', path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue