10
0
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:
Thomas Applencourt 2015-06-03 10:19:02 +02:00
parent 4f1335ee86
commit 9b59b8afc2

View File

@ -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