fixed issue 1398, brackets in libspatialite load extension, thanks rmdpedroso

This commit is contained in:
Massimo committed 2013-03-21 11:21:53 -05:00
1 parent 3494fa2d0d
commit 675245eb15
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ def check_version():
elif new_version != True:
return A(T('web2py is up to date'), _href=WEB2PY_URL)
elif platform.system().lower() in ('windows', 'win32', 'win64') and os.path.exists("web2py.exe"):
return SPAN('You should upgrade to version %s.%s.%s' % version_number[:3])
return SPAN('You should upgrade to version %s' % version_number)
else:
return sp_button(URL('upgrade_web2py'), T('upgrade now to %s') % version_number.split('-')[0])