Skip to content

Instantly share code, notes, and snippets.

@wiesson
Last active January 2, 2016 02:59
Show Gist options
  • Save wiesson/8240875 to your computer and use it in GitHub Desktop.
Save wiesson/8240875 to your computer and use it in GitHub Desktop.
mhmm
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