Adding debug message about correct authentication

Might be useful when going through the logs and looking for
authentication problems.
This commit is contained in:
Thomas-Karl Pietrowski 2016-11-19 23:17:31 +01:00
parent 037e2571c7
commit 657c93fff1

View file

@ -200,6 +200,8 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
Logger.log("d", "Authentication was required. Setting up authenticator.")
authenticator.setUser(self._authentication_id)
authenticator.setPassword(self._authentication_key)
else:
Logger.log("d", "No authentication was required. The id is: %s", self._authentication_id)
def getProperties(self):
return self._properties