summaryrefslogtreecommitdiff
path: root/opendc/models/room.py
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-06-24 09:13:09 +0200
committerGeorgios Andreadis <info@gandreadis.com>2020-06-24 09:13:09 +0200
commitbae760a62fc6a480fbe615dff6a7de03c7fd6d1d (patch)
tree06fc47f9922add14a3ac50fcfdfeb3d4fdc00363 /opendc/models/room.py
parent6fdb3e75dad15523d996e457c216647755b29101 (diff)
Add formatter
Diffstat (limited to 'opendc/models/room.py')
-rw-r--r--opendc/models/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/room.py b/opendc/models/room.py
index a4266627..6a7627f5 100644
--- a/opendc/models/room.py
+++ b/opendc/models/room.py
@@ -26,7 +26,7 @@ class Room(Model):
# Get the Datacenter
try:
- datacenter = Datacenter.from_primary_key((self.datacenter_id,))
+ datacenter = Datacenter.from_primary_key((self.datacenter_id, ))
except exceptions.RowNotFoundError:
return False