From: Nabil Hanna Date: Fri, 21 May 2010 09:05:48 +0000 (+0000) Subject: oe1.6 has some other passwd strings X-Git-Url: http://code.vuplus.com/gitweb/?a=commitdiff_plain;h=325e4c34f6028db24d9059402d3f120d89c81e84;hp=3965f25a893da0f5fa26b089629a09f1159c2824;p=vuplus_dvbapp-plugin oe1.6 has some other passwd strings --- diff --git a/passwordchanger/src/plugin.py b/passwordchanger/src/plugin.py index 7c513f1..5cafae5 100644 --- a/passwordchanger/src/plugin.py +++ b/passwordchanger/src/plugin.py @@ -146,10 +146,10 @@ class PasswordChangerConsole(Screen): def changePassword(self): try: r = self.sendMessage("passwd") - if r.__contains__("Enter new password:"): + if r.__contains__("Enter new password:") or r.__contains__("New password:"): r = self.sendMessage(self.new_pass) - if r.__contains__("Re-enter new password:"): + if r.__contains__("Re-enter new password:") or r.__contains__("Retype password:"): r = self.sendMessage(self.new_pass) except: self.log += _("Error while setting new password!")