diff options
author | Michaël Ball <michael.ball@gmail.com> | 2015-11-27 19:24:36 +0000 |
---|---|---|
committer | Michaël Ball <michael.ball@gmail.com> | 2015-11-27 19:24:36 +0000 |
commit | 52791f111e9ee885389377a91cab44faa61c32b5 (patch) | |
tree | 6f926568f79408bd7c7ed0a017b801a04e990ace /models/artist.py | |
parent | 6b5c87d5c35ebbac6f7fbcac1a722bd0b3148e04 (diff) |
Better library management
Diffstat (limited to 'models/artist.py')
-rw-r--r-- | models/artist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/artist.py b/models/artist.py index 2e69354..fee081c 100644 --- a/models/artist.py +++ b/models/artist.py @@ -141,8 +141,8 @@ class Artist: cursor = db.cursor() artists = [] - select_string = """SELECT * FROM artist ORDER BY %s %s""" % (order, - direction) + select_string = "SELECT * FROM artist ORDER BY %s %s" % (order, + direction) if limit is not None and offset is not None: select_string = " ".join((select_string, |