We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c22381 commit 17fc0d9Copy full SHA for 17fc0d9
src/model/queries.py
@@ -182,14 +182,14 @@ def queryPathChanged(dateFrom, dateTo):
182
data = []
183
184
for item in result:
185
- temp = item['_source'].copy()
186
- if 'src_site' in temp.keys() and 'dest_site' in temp.keys():
187
- temp['tag'] = [temp['src_site'], temp['dest_site']]
188
- temp['from'] = temp['from_date']
189
- temp['to'] = temp['to_date']
190
- del temp['from_date']
191
- del temp['to_date']
192
- data.append(temp)
+ temp = item['_source'].copy()
+ if 'src_site' in temp.keys() and 'dest_site' in temp.keys():
+ temp['tag'] = [temp['src_site'], temp['dest_site']]
+ temp['from'] = temp['from_date']
+ temp['to'] = temp['to_date']
+ del temp['from_date']
+ del temp['to_date']
+ data.append(temp)
193
194
return data
195
0 commit comments