mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-16 23:30:24 +01: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)
|
ls = os.listdir(path)
|
||||||
|
|
||||||
# Clean up file list
|
# 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:
|
if not files:
|
||||||
raise Exception('No files starting with', filestem, 'in folder', path)
|
raise Exception('No files starting with', filestem, 'in folder', path)
|
||||||
|
|
Loading…
Add table
Reference in a new issue