py360convert icon indicating copy to clipboard operation
py360convert copied to clipboard

error in py360convert/utils.py line no: 193

Open pemagrg1 opened this issue 6 years ago • 2 comments

In py360convert/utils.py line no: 193, you have an unknown variable reference "k" commenting that line works though.

def cube_dict2h(cube_dict, face_k=['F', 'R', 'B', 'L', 'U', 'D']):
    # assert len(k) == 6
    return cube_list2h([cube_dict[k] for k in face_k])

pemagrg1 avatar Nov 05 '19 08:11 pemagrg1

Fixed. Thanks!

sunset1995 avatar Nov 06 '19 06:11 sunset1995

Met the same problem. Fixed by your soluton. Thanks!

ziyang1106 avatar Feb 27 '22 15:02 ziyang1106