Last active
January 2, 2016 02:59
-
-
Save wiesson/8240875 to your computer and use it in GitHub Desktop.
mhmm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
threads = [] | |
for t in threading.enumerate(): | |
threads.append(t.getName()) | |
return render_template("devices/index.html", devices=g.devices, threads=threads) | |
return render_template("devices/index.html", devices=g.devices, | |
map(lambda x: x.getName(), threading.enumerate())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment