Skip to content
Snippets Groups Projects
Commit 5b0aa21c authored by Björn Guth's avatar Björn Guth
Browse files

fixed bug in qrreader.py

parent 999640e8
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ tee name=t ! queue ! autovideosink t.
qr = symbol.data
print(qr)
if qr.find('http://fsmpi.rwth-aachen.de/lip/view/') >= 0:
os.system('firefox -new-tab '+url)
os.system('firefox -new-tab '+qr)
elif qr.find('pk: ') >= 0:
pk = string.split(string.split(qr,'%')[0],': ')[1]
os.system('firefox -new-tab http://fsmpi.rwth-aachen.de/lip/view/' + pk + '+0')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment