Skip to content
Snippets Groups Projects
Commit 7aa68ca3 authored by Franck Dary's avatar Franck Dary
Browse files

Fixed scripts

parent 8f77d2a9
No related branches found
No related tags found
No related merge requests found
#! /usr/bin/python
#! /usr/bin/python3
import sys
......
......@@ -29,7 +29,7 @@ if __name__ == "__main__" :
lastWasEmpty = False
for line in open(sys.argv[1], "r") :
for line in open(sys.argv[1], "r", encoding="utf8") :
lastWasEmpty = False
if len(line.strip()) < 2 :
lastWasEmpty = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment