From c0311c8a1a2dae520b2576d57137c380f08a471f Mon Sep 17 00:00:00 2001 From: emkael Date: Sat, 17 Feb 2018 10:41:12 +0100 Subject: Don't abuse string formatting --- jfr_playoff/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jfr_playoff') 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 -- cgit v1.2.3