Fix pylint errors

This commit is contained in:
Daan Sprenkels
2020-06-09 17:57:25 +02:00
parent 3724b94e4a
commit 23f651bbd1
2 changed files with 3 additions and 2 deletions

View File

@ -150,7 +150,7 @@ class Queue(models.Model):
song_count += 1
def __str__(self):
return self.name
return str(self.name)
class QueueCommand(models.Model):
@ -162,4 +162,4 @@ class QueueCommand(models.Model):
command = models.TextField()
def __str__(self):
return self.command
return str(self.command)

View File

@ -150,6 +150,7 @@ disable=missing-docstring,
missing-format-attribute,
too-few-public-methods,
unused-argument,
signature-differs,
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option