[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:
Chris Hennes
2021-02-25 17:25:41 -06:00
committed by wwmayer
parent b1789ae7d2
commit a432480e8d

View File

@@ -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 []