Minor bug fix to API

This commit is contained in:
usmannasir
2018-07-19 22:38:37 +05:00
parent e29eac1257
commit a83686e39c
22 changed files with 507 additions and 96 deletions

View File

@@ -1139,9 +1139,7 @@ def submitRemoteBackups(request):
if data['getVersion'] == 1:
Version = version.objects.get(pk=1)
if data['currentVersion'] == Version.currentVersion and data['build'] >= 0:
if float(data['currentVersion']) >= 1.6 and data['build'] >= 0:
pass
else:
data_ret = {'status': 0,