From bae760a62fc6a480fbe615dff6a7de03c7fd6d1d Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 24 Jun 2020 09:13:09 +0200 Subject: Add formatter --- opendc/models/section.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/models/section.py') diff --git a/opendc/models/section.py b/opendc/models/section.py index 53b5e6c9..2fd71068 100644 --- a/opendc/models/section.py +++ b/opendc/models/section.py @@ -23,7 +23,7 @@ class Section(Model): # Get the Path try: - path = Path.from_primary_key((self.path_id,)) + path = Path.from_primary_key((self.path_id, )) except exceptions.RowNotFoundError: return False -- cgit v1.2.3