check for updates and offer option option to restart

This commit is contained in:
j 2014-08-22 18:42:08 +02:00
commit 0bd359f89d
5 changed files with 109 additions and 14 deletions

View file

@ -56,6 +56,7 @@ def check():
old = settings.release['modules']['openmedialibrary']['version']
new = release['modules']['openmedialibrary']['version']
return verify(release) and old < new
return False
def download():
if not os.path.exists(os.path.join(settings.config_path, 'release.json')):