Przeglądaj źródła

Merge branch 'master' of http://git2.simplico.net/tum/network_report_server

tum 1 rok temu
rodzic
commit
c684f5266a

BIN
app/Output/excel_out_test_excel_formatter_update.xlsx


+ 1 - 1
app/backend/views.py

@@ -345,7 +345,7 @@ def gen_report_notebook():
345 345
             reg_cond = f'(?=.*pppoe-out)(?=.*{sla_splt[-1]})'
346 346
 
347 347
             pprint(reg_cond)
348
-            temp_addr = list(c2.find({'ts': {'$lte': utc, '$gte': yest }, 'interface': {'$regex': reg_cond,  '$not': { '$regex': '^pppoe-out5'}, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
348
+            temp_addr = list(c2.find({'ts': {'$lte': utc, '$gte': yest }, 'interface': {'$regex': reg_cond,  '$not': { '$regex': 'pppoe-out5'}, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
349 349
             # temp_addr = list(c2.find({'ts': {'$lte': utc, '$gte': yest }, 'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
350 350
             # temp_addr = list(c2.find({'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
351 351
             pprint("-------")