From a0e14ca2cb7360b47fe14085c4727624000cd517 Mon Sep 17 00:00:00 2001 From: croneter Date: Mon, 26 Nov 2018 17:23:35 +0100 Subject: [PATCH] Fix TypeError --- resources/lib/plex_db/sections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/plex_db/sections.py b/resources/lib/plex_db/sections.py index b77c153b..f214b955 100644 --- a/resources/lib/plex_db/sections.py +++ b/resources/lib/plex_db/sections.py @@ -46,7 +46,7 @@ class Sections(object): """ Returns the section_id for section_name (or None) """ - self.cursor.execute('SELECT section_id FROM sections WHERE section_name = ? LIMIT 1,' + self.cursor.execute('SELECT section_id FROM sections WHERE section_name = ? LIMIT 1', (section_name, )) try: return self.cursor.fetchone()[0]