R0rt1z2 / realme-ota

Request and download OTA packages from BBK server(s)
GNU General Public License v3.0
150 stars 49 forks source link

setup.py: Illegal CR character (^M) #6

Closed hakimifr closed 2 years ago

hakimifr commented 2 years ago

Hi, it seems like setup.py contains illegal CR character which makes the shebang pretty pointless

[hakimi@fedora realme-ota]$ ./setup.py 
bash: ./setup.py: /usr/bin/python3^M: bad interpreter: No such file or directory
[hakimi@fedora realme-ota]$ 

this can be removed with sed -i 's/\r//' setup.py

R0rt1z2 commented 2 years ago

Thanks, pushed the fix with your authorship