Fix account subscriptions debug print

This commit is contained in:
southerntofu 2021-08-04 21:23:26 +02:00
parent a09ed96eb6
commit a50a1fd0bf
1 changed files with 8 additions and 0 deletions

View File

@ -449,6 +449,14 @@ class Account:
self.name = name
self.domain = domain
# Maybe useful?
def __str__(self):
return self.name + "@" + self.domain
# For debug prints
def __repr__(self):
return self.name + "@" + self.domain
# Builds an Account from one of the following syntaxes, additionally stripping extra whitespace and ignoring `#` as comments:
# - id@server
# - @id@server