RealityNet / teleparser

Telegram cache4.db parser
MIT License
60 stars 13 forks source link

Linux crash bescause of DOS endline char #2

Closed Aztorius closed 4 years ago

Aztorius commented 4 years ago

Describe the bug Cannot execute teleparser.py with bash. Because of the endline char on the first line of teleparser.py, bash cannot execute python3. Using python3 teleparser.py it works.

Script logs

$ ./teleparser.py
bash: ./teleparser.py : /usr/bin/python3^M : mauvais interpréteur: Aucun fichier ou dossier de ce type

OS used to execute the script (please complete the following information):

Telegram app (please complete the following information): *

Additional context

dfirfpi commented 4 years ago

Thanks, I'll switch to *tux newlines.