Various fixes
This commit is contained in:
parent
7f70f366a1
commit
ddd6c06f6d
2 changed files with 2 additions and 5 deletions
1
log.py
1
log.py
|
@ -23,7 +23,6 @@
|
|||
# SOFTWARE.
|
||||
|
||||
import pyodbc
|
||||
import mysql.connector
|
||||
import time
|
||||
from odbcReferences import driver
|
||||
from config import logRetentionDays, maximumSQLAttempts, loggingMode
|
||||
|
|
|
@ -24,9 +24,7 @@
|
|||
|
||||
import config
|
||||
|
||||
if config.loggingMode == 'rabbitmq':
|
||||
|
||||
import rabbitmq
|
||||
rabbitmq = rabbitmq.rabbitMQClient(config.rabbitmqca,config.rabbitmqcacert,config.rabbitmqcakey,config.rabbitmqHost,config.rabbitmqPort,config.rabbitmqRoutingKey)
|
||||
import rabbitmq
|
||||
rabbitmq = rabbitmq.rabbitMQClient(config.rabbitmqca,config.rabbitmqcacert,config.rabbitmqcakey,config.rabbitmqHost,config.rabbitmqPort,config.rabbitmqRoutingKey)
|
||||
|
||||
rabbitmq.retrieve()
|
||||
|
|
Loading…
Reference in a new issue