Skip to content

Commit

Permalink
Fire: Fix error while adding fire station without a code.
Browse files Browse the repository at this point in the history
  • Loading branch information
trendspotter committed Sep 28, 2017
1 parent 8938549 commit 2565203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/s3db/fire.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def model(self):
),
Field("code", length=10, # Mayon compatibility
label = T("Code"),
represent = lambda v: v or NONE,
represent = lambda v: v or None,
requires = code_requires,
),
Field("facility_type", "integer",
Expand Down

0 comments on commit 2565203

Please sign in to comment.