Merge pull request #6 from thopiekar/master-add-log-about-correct-auth

Adding debug message about correct authentication
This commit is contained in:
Jaime van Kessel 2016-11-21 09:25:44 +01:00 committed by GitHub
commit 8765d1980e

View File

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