add config file for default configuration, fix a bug that close powerpoint after cropping
This commit is contained in:
@@ -46,7 +46,7 @@ def crop(args):
|
||||
print('convert {0} to {1}'.format(infile, inbase + '.pdf'))
|
||||
slides.SaveAs(inbase + '.pdf', 32)
|
||||
slides.close()
|
||||
powerpoint.Quit()
|
||||
# powerpoint.Quit()
|
||||
# read comments.
|
||||
ppt = Presentation(infile)
|
||||
slides = ppt.slides
|
||||
|
||||
Reference in New Issue
Block a user