Skip to content

Commit

Permalink
Fixing multiline error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Burch authored and Jacob Burch committed Jul 7, 2009
1 parent becee0f commit ef24423
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prowlpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ def post(self,application=None,event=None,description=None):
h.add_credentials(self.username,self.password)
headers = {'User-Agent': "ProwlScriptPy/%s" % str(VERSION)}

data = {}
application = urllib.quote(str(application))
event = urllib.quote(str(event))
desciption = urllib.quote(str(description))

resp,content = h.request("https://prowl.weks.net/api/add_notification.php?application=%s&event=%s&description=%s" /
resp,content = h.request("https://prowl.weks.net/api/add_notification.php?application=%s&event=%s&description=%s" \
% (application, event, description))

if(resp['status']=='200'):
Expand Down

0 comments on commit ef24423

Please sign in to comment.