File manager - Edit - /usr/lib/python3/dist-packages/landscape/lib/__pycache__/encoding.cpython-310.pyc
Back
o ���c! � @ s d dl mZ dd� Zdd� ZdS )� )�unicodec C s t | t�r | �d�} | S )z> A small helper to decode unicode to utf-8 if needed. �utf-8)� isinstancer �encode)�value� r �8/usr/lib/python3/dist-packages/landscape/lib/encoding.py�encode_if_needed s r c C s8 | � � }|�� D ]\}}t|t�r|�dd�||<