Merge branch 'stable' into v1.9.4

This commit is contained in:
Usman Nasir
2020-01-30 22:34:22 +05:00

View File

@@ -2628,6 +2628,11 @@ StrictHostKeyChecking no
website = Websites.objects.get(domain=self.domain) website = Websites.objects.get(domain=self.domain)
if website.externalApp != data['externalApp']:
data_ret = {'status': 0, 'error_message': 'External app mis-match.'}
json_data = json.dumps(data_ret)
return HttpResponse(json_data)
uBuntuPath = '/etc/lsb-release' uBuntuPath = '/etc/lsb-release'
if os.path.exists(uBuntuPath): if os.path.exists(uBuntuPath):