mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Integrate UISP import (optional)
This commit is contained in:
parent
360c0a0485
commit
0dfc0fe0fe
@ -3,9 +3,12 @@ import schedule
|
|||||||
from LibreQoS import refreshShapers
|
from LibreQoS import refreshShapers
|
||||||
from graphBandwidth import refreshBandwidthGraphs
|
from graphBandwidth import refreshBandwidthGraphs
|
||||||
from graphLatency import refreshLatencyGraphs
|
from graphLatency import refreshLatencyGraphs
|
||||||
from ispConfig import bandwidthGraphingEnabled, latencyGraphingEnabled
|
from ispConfig import bandwidthGraphingEnabled, latencyGraphingEnabled, automaticImportUISP
|
||||||
|
from integrationUISP import importFromUISP
|
||||||
|
|
||||||
def importandshape():
|
def importandshape():
|
||||||
|
if automaticImportUISP:
|
||||||
|
importFromUISP()
|
||||||
refreshShapers()
|
refreshShapers()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user