diff --git a/feedback-ltworf/app.yaml b/feedback-ltworf/app.yaml index a89a1bf..7730430 100644 --- a/feedback-ltworf/app.yaml +++ b/feedback-ltworf/app.yaml @@ -1,5 +1,5 @@ application: feedback-ltworf -version: 1 +version: 2 runtime: python27 api_version: 1 threadsafe: true diff --git a/relational/maintenance.py b/relational/maintenance.py index 877c0fc..00fba92 100644 --- a/relational/maintenance.py +++ b/relational/maintenance.py @@ -34,8 +34,13 @@ def send_survey(data): #sends the string params = urllib.urlencode({'survey':post}) headers = {"Content-type": "application/x-www-form-urlencoded","Accept": "text/plain"} - connection = httplib.HTTPConnection('galileo.dmi.unict.it') - connection.request("POST","/~ltworf/survey.php",params,headers) + #connection = httplib.HTTPConnection('galileo.dmi.unict.it') + #connection.request("POST","/~ltworf/survey.php",params,headers) + + connection = httplib.HTTPConnection('feedback-ltworf.appspot.com') + connection.request("POST","/feedback/relational",params,headers) + + return connection.getresponse()