CC-2256 Airtime-upgrade.php does not upgrade the web app
need to check only a substring of the version constant.
This commit is contained in:
parent
70355cc364
commit
188f065f4f
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ class AirTimeApiClient(ApiClientInterface):
|
|||
print 'Unable to get Airtime version number.'
|
||||
print
|
||||
return False
|
||||
elif (version[0:3] != AIRTIME_VERSION):
|
||||
elif (version[0:3] != AIRTIME_VERSION[0:3]):
|
||||
if (verbose):
|
||||
print 'Airtime version found: ' + str(version)
|
||||
print 'pypo is at version ' +AIRTIME_VERSION+' and is not compatible with this version of Airtime.'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue