Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Commit

Permalink
Tweak Unlogged __str__ method
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloromeira committed May 7, 2018
1 parent 7ada3ca commit 3976bca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions onegram/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ def request(self, *a, **kw):


def __str__(self):
str = super(Unlogged, self).__str__()
return f'(Unlogged: {str})'
return f'(Unlogged[{id(self)}])'


sessionaware = _sessionaware(cls=_BaseSession)
Expand Down

0 comments on commit 3976bca

Please sign in to comment.