Commit ecdbed45 authored by Ludovic Rousseau's avatar Ludovic Rousseau

sort_smartcard_list: convert from bytes to string

parent 44c47c32
......@@ -45,6 +45,8 @@ p2 = Popen(["grep", "+3[B,F]"], stdin=p1.stdout, stdout=PIPE)
output = p2.communicate()[0]
output = output.decode('utf-8')
size = len(output.split("\n"))-1
if size >= 10:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment