Make Python 3.5 compliant

This commit is contained in:
Rien Maertens 2019-02-13 22:38:21 +01:00
parent acaea97b1f
commit 1d942ce56b
No known key found for this signature in database
GPG key ID: 10C6D8C91DE58E4A

View file

@ -31,7 +31,7 @@ class Quote(db.Model):
QUOTEE_REGEX = re.compile('\W*(\w+).*') QUOTEE_REGEX = re.compile('\W*(\w+).*')
def __repr__(self): def __repr__(self):
return f"<Quote {self.quoter} \"{self.quote}\">" return "<Quote {} \"{}\">".format(self.quoter, self.quote)
def __init__(self, quoter, quote, channel): def __init__(self, quoter, quote, channel):
super() super()