mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
restore the unrelated code
This commit is contained in:
parent
fed1d096e8
commit
32eb96c2c6
1 changed files with 1 additions and 3 deletions
|
|
@ -157,8 +157,6 @@ def deliver_single_file(
|
|||
delivery_path = delivery_path.replace("..", ".")
|
||||
# Make sure path is valid for all platforms
|
||||
delivery_path = os.path.normpath(delivery_path.replace("\\", "/"))
|
||||
# Remove newlines from the end of the string to avoid OSError during copy
|
||||
delivery_path = delivery_path.rstrip()
|
||||
|
||||
delivery_folder = os.path.dirname(delivery_path)
|
||||
if not os.path.exists(delivery_folder):
|
||||
|
|
@ -307,4 +305,4 @@ def deliver_sequence(
|
|||
_copy_file(src, dst)
|
||||
uploaded += 1
|
||||
|
||||
return report_items, uploaded
|
||||
return report_items, uploaded
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue