mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-08 05:33:52 -05:00
fix import
This commit is contained in:
@@ -116,7 +116,7 @@ def main():
|
||||
preset = ENCODER_TO_PRESET[args.encoder]
|
||||
if handbrake_present() is False:
|
||||
logging.info("copying handbrake from network drive")
|
||||
if args.share_user is not None and args.share_name is not None:
|
||||
if args.share_user is not None and args.share_pass is not None:
|
||||
connect_and_copy_handbrake(args.share_user, args.share_pass)
|
||||
else:
|
||||
copy_handbrake_from_network_drive()
|
||||
@@ -126,7 +126,7 @@ def main():
|
||||
|
||||
if is_video_source_present() is False:
|
||||
logging.info("copying big buck bunny from network drive")
|
||||
if args.share_user is not None and args.share_name is not None:
|
||||
if args.share_user is not None and args.share_pass is not None:
|
||||
connect_and_copy_video(args.share_user, args.share_pass)
|
||||
else:
|
||||
copy_video_source()
|
||||
|
||||
@@ -4,11 +4,15 @@ import os
|
||||
from pathlib import Path
|
||||
import time
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
HANDBRAKE_EXECUTABLE = "HandBrakeCLI.exe"
|
||||
SOURCE_VIDEO_NAME = "big_buck_bunny_1080p24.y4m"
|
||||
SCRIPT_DIR = Path(os.path.dirname(os.path.realpath(__file__)))
|
||||
|
||||
|
||||
sys.path.insert(1, os.path.join(sys.path[0], ".."))
|
||||
|
||||
from harness_utils.network_share import (
|
||||
network_share_auth
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user