further logic fix, which will be better if a lot of databases are configured
This commit is contained in:
parent
e17fa6261a
commit
b19fb0f12c
1 changed files with 21 additions and 21 deletions
|
@ -104,11 +104,11 @@ if __name__ == '__main__':
|
|||
|
||||
for room_fdb in eval(room_fdbs):
|
||||
#print('room_fdb',room_fdb, 'fdb_list',fdb_list)
|
||||
if room_fdb in fdb_list and room_fdb not in [key for key in data]:
|
||||
try:
|
||||
iteration_var_list = config.get(room_fdb).get("entry-list").get("iteration-var-list")
|
||||
except Exception as e:
|
||||
print('there was an error with the entry-list parameter in the config regarding the fdb ', room_fdb)
|
||||
if room_fdb in fdb_list and room_fdb not in [key for key in data]:
|
||||
iterdict = {}
|
||||
for i in eval(iteration_var_list):
|
||||
f = open(spider_directory + "/spiders/output/" + room_fdb + str(i) + "entryList.txt")
|
||||
|
|
Loading…
Reference in a new issue