Skip to content

Commit

Permalink
Merge branch 'develop' into info-manages-path
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc authored Dec 2, 2018
2 parents 10e4855 + 612c313 commit dd4b043
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,20 @@ def main():
# Display version and exit (if requested)
if args.version:
print("OpenShot version %s" % info.SETUP['version'])
exit()
sys.exit()

if args.list_languages:
print("Supported Languages:")
for lang in get_all_languages():
print(" {:>12} {}".format(lang[0],lang[1]))
exit()
sys.exit()

if args.lang:
if args.lang in info.SUPPORTED_LANGUAGES:
info.CMDLINE_LANGUAGE = args.lang
else:
print("Unsupported language '{}'! (See --list-languages)".format(args.lang))
exit(-1)
sys.exit(-1)

reroute_output()

Expand Down

0 comments on commit dd4b043

Please sign in to comment.