ePub: fix argument handling in Python script.

This commit is contained in:
Thibaut Cuvelier 2021-02-07 01:55:29 +01:00
parent 4615e2f09f
commit 7472be428e

View File

@ -21,7 +21,7 @@ import zipfile
import glob
if __name__ == '__main__':
if len(sys.argv) != 3:
if len(sys.argv) != 4:
sys.exit(1)
own_path, java_path, input, output = sys.argv
script_folder = os.path.dirname(own_path) + '/../'