fix variable name

This commit is contained in:
j 2013-06-06 12:05:15 +00:00
parent 03d6d61ecf
commit b5682cf97c
4 changed files with 4 additions and 4 deletions

View file

@ -153,7 +153,7 @@ def main():
else: else:
with open(options.data) as f: with open(options.data) as f:
data = json.load(f) data = json.load(f)
render_poster(data, poster) render_poster(data, options.poster)
if __name__ == "__main__": if __name__ == "__main__":
main() main()

View file

@ -221,7 +221,7 @@ def main():
with open(options.data) as f: with open(options.data) as f:
data = json.load(f) data = json.load(f)
render_poster(data, poster) render_poster(data, options.poster)
if __name__ == "__main__": if __name__ == "__main__":
main() main()

View file

@ -79,7 +79,7 @@ def main():
else: else:
with open(options.data) as f: with open(options.data) as f:
data = json.load(f) data = json.load(f)
render_poster(data, poster) render_poster(data, options.poster)
if __name__ == "__main__": if __name__ == "__main__":
main() main()

View file

@ -154,7 +154,7 @@ def main():
else: else:
with open(options.data) as f: with open(options.data) as f:
data = json.load(f) data = json.load(f)
render_poster(data, poster) render_poster(data, options.poster)
if __name__ == "__main__": if __name__ == "__main__":
main() main()