Skip to content

(not important) session __str__ typo #300

Closed
@uukelele-scratch

Description

@uukelele-scratch

calling print() on a session always says "Login for account: {self.username}" without the actual username.

Relevant part of code (for class Session(BaseSiteComponent)):

   def __str__(self):
        return "Login for account: {self.username}"

Easy fix: use an f-string (I think you forgot to put it in)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions