Github user bustios commented on the issue:

    https://github.com/apache/zeppelin/pull/1352
  
    Yes @bzz, I just deleted `if self.py3:` but not `img_str = 
img_str.decode('ascii')` (it is in line 173), which means it will be executed 
for both Python 2 and 3. Decoding bytes to string it necessary for Python 3 
because that version makes distinction between String and Bytes, which does not 
occur in Python 2.
    
    Maybe, `img_str = img_str.decode('ascii')` should be in a separate line of 
code to be clear.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to