Loading

Paste #pr6rihdch

  1. def __open_nested_timeline(self, unused_action, unused_parameter):
  2.         assets = self.getSelectedAssets()
  3.         if len(assets) != 1:
  4.             return
  5.         parent_path = os.path.abspath(path_from_uri(assets[0].get_id()))
  6.         print(parent_path)
  7.         subprocess.call(['xdg-open', parent_path])