ajslater / picopt

A multi format lossless image optimizer that uses external tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: 'dict' object has no attribute 'iteritems'

eMerzh opened this issue · comments

hi, i've installed picopt on my mac via pip but it doesn't seems to work here

osx 10.11 python 3.5

did
pip install picopt in my venv
then when i launch it i have

File "/dir/venv/bin/picopt", line 11, in <module>
  sys.exit(main())
File "/dir/venv/lib/python3.5/site-packages/picopt/cli.py", line 185, in main
  run(sys.argv)
File "/dir/venv/lib/python3.5/site-packages/picopt/cli.py", line 179, in run
  process_arguments(raw_arguments)
File "/dir/venv/lib/python3.5/site-packages/picopt/cli.py", line 132, in process_arguments
  Settings.update(arguments)
File "/dir/venv/lib/python3.5/site-packages/picopt/settings.py", line 39, in update
  for key, val in settings.__dict__.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

is there smth i forgot?

thanks for your great work ;-)

fixed in 1.5.2