Commit a3d8b88a authored by Gabriel Detraz's avatar Gabriel Detraz Committed by root

Correction mineur

parent f59930e4
......@@ -36,7 +36,7 @@ class Port(models.Model):
('BLOQ', 'BLOQ'),
('COMMON', 'COMMON'),
)
STATES = STATES_BASE + tuple([(id, id) for id in VLAN_ID_LIST])
STATES = STATES_BASE + tuple([(str(id), str(id)) for id in VLAN_ID_LIST])
switch = models.ForeignKey('Switch', related_name="ports")
port = models.IntegerField()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment