diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index b3ae4e54..3d2f7826 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -218,7 +218,7 @@ def main(): else: print '...updating to version:' + version + ' vercode:' + vercode app['Current Version'] = version - app['Current Version Code'] = (str)((int)vercode) + app['Current Version Code'] = str(int(vercode)) metafile = os.path.join('metadata', app['id'] + '.txt') common.write_metadata(metafile, app)