-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.py
35 lines (33 loc) · 879 Bytes
/
run.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
if __name__ == "__main__":
from app.general_def import (
selectClient,
selectTimestamp,
selectLogtype,
printProcessing,
generateCSV,
showResults,
setCSVFileName,
checkForDuplicatesAndAddToDection,
populateClientListFromCSV,
)
from data.config import StaticConfig
from app.trend_def import requestLogs
# RUN
if StaticConfig.DEBUG == False:
populateClientListFromCSV()
selectClient()
selectTimestamp()
selectLogtype()
printProcessing()
requestLogs()
checkForDuplicatesAndAddToDection()
setCSVFileName()
generateCSV()
showResults()
# RUN DEBUG
if StaticConfig.DEBUG == True:
selectClient()
selectTimestamp()
selectLogtype()
printProcessing()
requestLogs()