Commit c6144de5 authored by Jonathan Wiedemann's avatar Jonathan Wiedemann
Browse files

fix ref before assignement

parent 95e39395
......@@ -257,6 +257,7 @@ def fillet_presence(doc=None, label=None, radius=None):
'''check fillet presence'''
doc = get_document(doc)
reference = None
if doc:
if label != None:
reference = doc.getObject(label)
Supports Markdown
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