mirror of
https://github.com/LCPQ/quantum_package
synced 2024-10-31 19:23:50 +01:00
Fix bug in replacent 'file' => 'f'
This commit is contained in:
parent
4f1335ee86
commit
9b59b8afc2
@ -298,9 +298,10 @@ def get_l_irp_for_module(path_module_abs):
|
||||
return the list of irp.f in a module
|
||||
'''
|
||||
dump = []
|
||||
|
||||
for f in os.listdir(path_module_abs):
|
||||
if f.endswith(".irp.f"):
|
||||
dump.append(join(path_module_abs, file))
|
||||
dump.append(join(path_module_abs, f))
|
||||
if f == "EZFIO.cfg":
|
||||
dump.append(join(path_module_abs, "ezfio_interface.irp.f"))
|
||||
return dump
|
||||
|
Loading…
Reference in New Issue
Block a user