[Part] Fix signature of TempoVis dummy function
If the import of TempoVis fails, TaskAttachmentEditor creates s dummy function to replace the real TempoVis function. That function's signature did not match the real TempoVis. Caught by LGTM.
This commit is contained in:
@@ -33,7 +33,7 @@ try:
|
||||
from Show import TempoVis
|
||||
from Show.DepGraphTools import getAllDependent
|
||||
except ImportError as err:
|
||||
def TempoVis(doc):
|
||||
def TempoVis(doc,tag):
|
||||
return None
|
||||
def getAllDependent(feature):
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user