This commit is contained in:
j 2017-11-02 21:11:09 +00:00
commit 90537f2f0e
6 changed files with 9 additions and 8 deletions

View file

@ -52,7 +52,7 @@ def main():
parser.add_option('-f', '--frames', dest='frames', help='Poster frames (image files to be read)', default='')
parser.add_option('-o', '--icon', dest='icon', help='Icon (image file to be written)')
(options, args) = parser.parse_args()
if options.icon == None:
if options.icon is None:
parser.print_help()
sys.exit()
@ -60,6 +60,6 @@ def main():
render_list_icon(frames, options.icon)
if __name__ == "__main__":
main()