Zulko / gizeh

Simple Vector Graphics for Python
Other
702 stars 70 forks source link

tools.py syntax error #10

Open mncharity opened 9 years ago

mncharity commented 9 years ago

pip install gizeh reports a SyntaxError in tools.py (gizeh-0.1.09, on a virtualenv, Python 3.4.0, linux).

      File "/space/moviepy/env/lib/python3.4/site-packages/gizeh/tools.py", line 8
        return [1.0*int(n,16)/255 for n in string[:2], string[2:4], string[4:]]
                                                     ^
    SyntaxError: invalid syntax
Zulko commented 9 years ago

Thanks, I corrected, that, it should work now.

Zulko commented 9 years ago

Can you confirm that it works ?