whoops, fix a error I checked in with a variable i was only testing out earlier

This commit is contained in:
Erik Kristensen 2010-10-05 23:42:04 -04:00
parent 91d4a7d570
commit bdbffd2d60
1 changed files with 3 additions and 3 deletions

View File

@ -1263,10 +1263,10 @@ class MythBEConn( object ):
def check_version(self):
res = self.backendCommand('MYTH_PROTO_VERSION %s' \
% PROTO_VERSION).split(BACKEND_SEP)
if res[0] == 'REJECT' and res[1] != PROTO_VERSION_2:
if res[0] == 'REJECT':
self.log(MythLog.IMPORTANT|MythLog.NETWORK,
"Backend has version %s, and we speak %d (%d)" %\
(res[1], PROTO_VERSION, PROTO_VERSION_2))
"Backend has version %s, and we speak %d" %\
(res[1], PROTO_VERSION))
raise MythBEError(MythError.PROTO_MISMATCH,
int(res[1]), PROTO_VERSION)