chg: Other formats for cover also work
This commit is contained in:
parent
90a3e67081
commit
9f26b00148
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ Available options:
|
||||||
-z, --zipfile ZIPFILE
|
-z, --zipfile ZIPFILE
|
||||||
The path of the zip file obtained from Cambridge Core.
|
The path of the zip file obtained from Cambridge Core.
|
||||||
-n, --name NAME The path of the final PDF file.
|
-n, --name NAME The path of the final PDF file.
|
||||||
-c, --cover COVER The path of the cover file. (Must be JPG.)
|
-c, --cover COVER The path of the cover file. (Ideally JPG.)
|
||||||
```
|
```
|
||||||
|
|
||||||
[Link to the base repo.](https://git.sayantansantra.com/SinTan1729/cambridge-core-merge)
|
[Link to the base repo.](https://git.sayantansantra.com/SinTan1729/cambridge-core-merge)
|
||||||
|
|
|
@ -24,7 +24,7 @@ def main():
|
||||||
help="The path of the zip file obtained from Cambridge Core.",
|
help="The path of the zip file obtained from Cambridge Core.",
|
||||||
)
|
)
|
||||||
parser.add_argument("-n", "--name", required=True, help="The path of the final PDF file.")
|
parser.add_argument("-n", "--name", required=True, help="The path of the final PDF file.")
|
||||||
parser.add_argument("-c", "--cover", help="The path of the cover file. (Must be JPG.)")
|
parser.add_argument("-c", "--cover", help="The path of the cover file. (Ideally JPG.)")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
zip = ZipFile(args.zipfile, "r")
|
zip = ZipFile(args.zipfile, "r")
|
||||||
|
|
Loading…
Reference in a new issue