1. Jeffrey Goettsch
  2. py-pushnotify

Commits

Jeffrey Goettsch  committed 4cf25a5

Swapped self._last_token_url for self._last['token_url'] in pushnotify.prowl.Client._parse_response_stream.

  • Participants
  • Parent commits 0195f1c
  • Branches default

Comments (0)

Files changed (1)

File pushnotify/prowl.py

View file
  • Ignore whitespace
                     self._last['apikey'] = None
                 elif 'apikey' in root[1].attrib:
                     self._last['token'] = None
-                    self.last_token_url = None
+                    self._last['token_url'] = None
                     self._last['apikey'] = root[1].attrib['apikey']
                 else:
                     raise exceptions.UnrecognizedResponseError(xmlresp, -1)