Commit bcf8480f authored by Lars Wirzenius's avatar Lars Wirzenius

Actually run download thread. Oops.

parent 26b1a5c6
......@@ -770,7 +770,8 @@ class CollaboraExtension(object):
def download_tasks(self, rtl):
print 'download thread starting'
threading.Thread(target=self.download_thread, kwargs={'rtl': rtl })
threading.Thread(target=self.download_thread,
kwargs={'rtl': rtl }).run()
return True
def download_thread(self, rtl):
......@@ -778,7 +779,7 @@ class CollaboraExtension(object):
ctx.set_verify(SSL.verify_peer | SSL.verify_fail_if_no_peer_cert, 9)
ctx.load_verify_locations(self.settings.server_cert)
passmgr = GtkPasswordRequest ()
auth_handler = urllib2.HTTPBasicAuthHandler (passmgr)
......@@ -815,6 +816,7 @@ class CollaboraExtension(object):
fp.close ()
rtl.load_file()
print 'download_thread ending'
return True
def resume_from_idle (self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment