Replacement for EnsureTrailingBackSlash

I’m in the middle of converting some ffs scripts to be used with Deadline 3.1 using python. After looking over the Deadline 3.0 scripting guide, I wasn’t able to find a replacement for EnsureTrailingBackSlash. I was looking over another one of the pre scripted plugin python files, and noticed the CheckPathMapping function. I was wondering if this does the same thing? I couldn’t find any documentation on this function. Thanks!

-Brett Bronson

Looks like this one didn’t get ported over to the Python API. We’ll add it for the next release. In the meantime, you could probably just check if the path ends with ‘/’ or ‘’ and append it if necessary.

Thanks for pointing this out!

Cheers,

  • Ryan

Thanks!