summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-02-17 10:41:12 +0100
committeremkael <emkael@tlen.pl>2018-02-17 10:41:12 +0100
commitc0311c8a1a2dae520b2576d57137c380f08a471f (patch)
tree5feed12c5efe1eebf90e9ec153125cfdb069c562
parenta1c2485b843ca40e37ed90b9ba059c1840736ca5 (diff)
Don't abuse string formatting
-rw-r--r--jfr_playoff/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py
index f5f638b..e0e2fe3 100644
--- a/jfr_playoff/data.py
+++ b/jfr_playoff/data.py
@@ -78,7 +78,7 @@ class PlayoffData(object):
row = self.database.fetch(database, p_sql.PREFIX, ())
if row is not None:
if len(row) > 0:
- return '%s%s' % (row[0], suffix)
+ return row[0] + suffix
except mysql.connector.Error:
return None
return None