HTTP-APIs / hydra-python-agent

Python Hydra smart client and test console
MIT License
22 stars 42 forks source link

Error in show_data function #135

Closed vedangj044 closed 4 years ago

vedangj044 commented 4 years ago

I'm submitting a

Steps to reproduce:

Current Behaviour:

Following the above steps throws error AttributeError: 'str' object has no attribute 'decode'

This happens as we are decoding the already decoded string. FIxing this issues too gives output similar to [['p'], ['Q'], ['u'], ['e'], ['r'], ['y'], [''], ['i'], ['n'], ['t'], ['e'], ['r'], ['n'], ['a'], ['l'], [''], ['e'], ['x'], ['e'], ['c'], ['u'], ['t'], ['i'], [ 'o'], ['n'], [''], ['t'], ['i'], ['m'], ['e'], [':'], [''], ['2'], ['.'], ['3'], ['9'], ['5'], ['4'], ['4'], ['9'], [''], ['m'], ['i'], ['l'], ['l'], ['i'], ['s' ], ['e'], ['c'], ['o'], ['n'], ['d'], ['s']

Do you want to work on this issue?

yes

Suggestion

Making changes show_data function works fine. Browsing through previous issues i came across #92 i would like try implementing that print format.