Make Python 3.5 compliant
This commit is contained in:
parent
acaea97b1f
commit
1d942ce56b
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue