Index: tools/scan-view/bin/scan-view =================================================================== --- tools/scan-view/bin/scan-view +++ tools/scan-view/bin/scan-view @@ -9,7 +9,7 @@ import imp import os import posixpath -import thread +import threading import time try: from urllib import urlopen @@ -139,7 +139,7 @@ # Kick off thread to wait for server and start web browser, if # requested. if args.startBrowser: - t = thread.start_new_thread(start_browser, (port, args)) + threading.Thread(target=start_browser, args=(port, args)).start() run(port, args, args.root)