Skip to content

Commit

Permalink
Fix rendering of reply's URLs in logging calls
Browse files Browse the repository at this point in the history
  • Loading branch information
EvaSDK committed Dec 28, 2016
1 parent 3aefe85 commit ddea4b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ghost/ghost.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,15 +276,15 @@ def createRequest(self, operation, request, data):
partial(reply_download_progress, reply)
)

self.logger.debug('Registring reply for %s', reply.url())
self.logger.debug('Registring reply for %s', reply.url().toString())
self._registry[id(reply)] = reply

time.sleep(0.001)
return reply

def _reply_finished_callback(self, reply):
"""Unregister a complete QNetworkReply."""
self.logger.debug('Reply for %s complete', reply.url())
self.logger.debug('Reply for %s complete', reply.url().toString())
self._registry.pop(id(reply))

@property
Expand Down

0 comments on commit ddea4b3

Please sign in to comment.