From 25edc23e90bcfbb8ab0575e2d7933852db9d2624 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 21 Oct 2008 09:31:16 +0000 Subject: [PATCH] updated python bindings docs --- docs/python_binding.html | 2 +- docs/python_binding.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/python_binding.html b/docs/python_binding.html index be9f85300..1bd86774e 100644 --- a/docs/python_binding.html +++ b/docs/python_binding.html @@ -142,7 +142,7 @@ h = ses.add_torrent(info, "./", storage_mode=storage_mode_sparse) while (not h.is_seed()): s = h.status() - state_str = ['queued', 'checking', 'connecting', 'downloading metadata', \ + state_str = ['queued', 'checking', 'downloading metadata', \ 'downloading', 'finished', 'seeding', 'allocating'] print '%.2f%% complete (down: %.1f kb/s up: %.1f kB/s peers: %d) %s' % \ (s.progress * 100, s.download_rate / 1000, s.upload_rate / 1000, \ diff --git a/docs/python_binding.rst b/docs/python_binding.rst index 7dc512ccd..1f96b84fb 100644 --- a/docs/python_binding.rst +++ b/docs/python_binding.rst @@ -114,7 +114,7 @@ A very simple example usage of the module would be something like this:: while (not h.is_seed()): s = h.status() - state_str = ['queued', 'checking', 'connecting', 'downloading metadata', \ + state_str = ['queued', 'checking', 'downloading metadata', \ 'downloading', 'finished', 'seeding', 'allocating'] print '%.2f%% complete (down: %.1f kb/s up: %.1f kB/s peers: %d) %s' % \ (s.progress * 100, s.download_rate / 1000, s.upload_rate / 1000, \