PEP8
This commit is contained in:
parent
bf88243423
commit
90537f2f0e
6 changed files with 9 additions and 8 deletions
|
|
@ -60,11 +60,11 @@ def main():
|
|||
parser.add_option('-l', '--timeline', dest='timeline', help='Timeline (image file to be read)')
|
||||
parser.add_option('-i', '--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()
|
||||
render_icon(options.frame, options.timeline, options.icon)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue