Commit 1db55b95 authored by Robin Sonnabend's avatar Robin Sonnabend

Do not require localtops to exist

/close #200
parent a50a8a01
......@@ -486,7 +486,7 @@ class DefaultTOP(DatabaseModel):
localtop = self.get_localtop(protocol)
top = TOP(
protocol_id=protocol.id, name=self.name,
description=localtop.description)
description=getattr(localtop, "description", ""))
return top
......
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