code: def get_dir(self, taskinfo):
          
          if taskinfo.task.department.assetflag:
              atname = taskinfo.task.element.atype.name
              d = os.path.join('assets', atname)
              return d
          else:
              seqname = taskinfo.task.element.sequence.name
              d = os.path.join('shots', seqname)
              return d
docs: Return ``assets/`` + assettypename if it is for an assettask or ``shots/`` + sequencename if is is for a shottask
  
          :param obj: the fileinfo with information.
          :type obj: :class:`TaskFileInfo`
          :returns: ``assets`` or ``shots`` depending on the assetflag of the task of taskinfo
          :rtype: str
          :raises: None