Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
mkolar committed Mar 11, 2021
1 parent e4f7103 commit b853c7b
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions pype/modules/deadline/plugins/publish/submit_publish_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -1048,31 +1048,4 @@ def _get_publish_folder(self, anatomy, template_data,
# Directory
publish_folder = os.path.dirname(file_path)

return publish_folder

def _get_executable(self, path=None):

# pass input path if exists
if path:
if os.path.exists(path):
return str(path)
else:
raise

"""Get path to the image sequence script."""
try:
from pathlib import Path
except ImportError:
from pathlib2 import Path

if getattr(sys, 'frozen', False):
interpreter = [sys.executable]
else:
interpreter = [sys.executable, 'start.py']

self.log.info("interpreter::{}".format(interpreter))
executable_path = os.path.join(*interpreter)

assert executable_path is not None, "Cannot determine path"

return str(executable_path)
return publish_folder

0 comments on commit b853c7b

Please sign in to comment.