use call instead of run to make python2 compatible

Esse commit está contido em:
Pierre Karashchuk
2017-03-21 19:02:49 -07:00
commit ff77fd1408
+1 -1
Ver Arquivo
@@ -22,5 +22,5 @@ outlet.push_sample([-1], time.time())
_ = input('\nStart recording and press Enter to start')
outlet.push_sample([1], time.time())
subprocess.run(['mpv',sys.argv[1]])
subprocess.call(['mpv',sys.argv[1]])
outlet.push_sample([2], time.time())