10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-22 05:02:15 +02: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