make an attempt to reauth unifi + let users know they didnt RTFM
This commit is contained in:
parent
c42a0b58e4
commit
2a260f6ee9
2 changed files with 12 additions and 6 deletions
|
@ -8,6 +8,9 @@ from influxdb.exceptions import InfluxDBServerError
|
|||
class DBManager(object):
|
||||
def __init__(self, server):
|
||||
self.server = server
|
||||
if self.server.url == "influxdb.domain.tld":
|
||||
self.logger.critical("You have not configured your varken.ini. Please read Wiki page for configuration")
|
||||
exit()
|
||||
self.influx = InfluxDBClient(host=self.server.url, port=self.server.port, username=self.server.username,
|
||||
password=self.server.password, ssl=self.server.ssl, database='varken',
|
||||
verify_ssl=self.server.verify_ssl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue