NetworkPrinterOutputDevice.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:UM3NetworkPrintingPlugin 作者: Ultimaker 项目源码 文件源码
def _onAuthenticationRequired(self, reply, authenticator):
        if self._authentication_id is not None and self._authentication_key is not None:
            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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号