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

Made script working with python 3.5

parent 461855a0
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ def printUsageAndExit() :
exit(1)
def choseDelimiter() :
return random.choices(["\n", " "], k=1, weights=[10, 50])[0]
return random.sample(["\n", " ", " ", " ", " ", " "], k=1)[0]
if __name__ == "__main__" :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment