Kaynağa Gözat

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

tum 1 yıl önce
ebeveyn
işleme
c684f5266a

BIN
app/Output/excel_out_test_excel_formatter_update.xlsx


+ 1 - 1
app/backend/views.py

345
             reg_cond = f'(?=.*pppoe-out)(?=.*{sla_splt[-1]})'
345
             reg_cond = f'(?=.*pppoe-out)(?=.*{sla_splt[-1]})'
346
 
346
 
347
             pprint(reg_cond)
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
             # temp_addr = list(c2.find({'ts': {'$lte': utc, '$gte': yest }, 'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
349
             # temp_addr = list(c2.find({'ts': {'$lte': utc, '$gte': yest }, 'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
350
             # temp_addr = list(c2.find({'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
350
             # temp_addr = list(c2.find({'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
351
             pprint("-------")
351
             pprint("-------")