mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
launcher: Allow user to set media-files directory
That was broken by 71dee6c384
This commit is contained in:
parent
6d8ff8a92a
commit
36f9ba8f52
1 changed files with 4 additions and 2 deletions
|
@ -157,8 +157,10 @@ def main():
|
|||
if options.http_server_dir is None:
|
||||
options.http_server_dir = options.paths
|
||||
|
||||
if not options.sync and not os.path.exists(options.clone_dir):
|
||||
printc("Media path (%s) does not exists. Forgot to run --sync ?" % options.clone_dir, Colors.FAIL, True)
|
||||
if not options.sync and not os.path.exists(options.clone_dir) and \
|
||||
options.clone_dir == os.path.join(options.clone_dir, MEDIAS_FOLDER):
|
||||
printc("Media path (%s) does not exists. Forgot to run --sync ?"
|
||||
% options.clone_dir, Colors.FAIL, True)
|
||||
return -1
|
||||
|
||||
tests_launcher.set_settings(options, args)
|
||||
|
|
Loading…
Reference in a new issue