o
    eV                     @   s   d dl mZmZ dd ZdS )    )BytesIOStringIOc                 C   s,   t | trt| ddS t | trt| S | S )zj
    Accept either a str/bytes stream or a file-like object and always return a
    file-like object.
     )newline)
isinstancestrr   bytesr   )stream r
   ?/var/www/html/venv/lib/python3.10/site-packages/tablib/utils.pynormalize_input   s
   

r   N)ior   r   r   r
   r
   r
   r   <module>   s    