Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Lewis <jtl1728@rit.edu>2010-01-05 22:17:23 (GMT)
committer Justin Lewis <jtl1728@rit.edu>2010-01-05 22:17:23 (GMT)
commit37340af0b5ecc6e609bb2987fd49e8aeb7727afd (patch)
tree077bdcf978fe71f5210f32343113b59c6f832b10
parent9e382bbf1079a058f786a201d43b4ce62f8940ea (diff)
Fixed one liner bug (no impact on current code)
Committing now to prevent problems if rollback is needed
-rw-r--r--FileShare.activity/FileShareActivity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/FileShare.activity/FileShareActivity.py b/FileShare.activity/FileShareActivity.py
index a05f279..baa8603 100644
--- a/FileShare.activity/FileShareActivity.py
+++ b/FileShare.activity/FileShareActivity.py
@@ -507,7 +507,7 @@ class FileShareActivity(Activity):
def _download_document(self, addr, documentId):
_logger.debug('Requesting to download document')
bundle_path = os.path.join(self._filepath, '%s.xoj' % documentId)
- port = int(self.addr[1])
+ port = int(addr[1])
getter = network.GlibURLDownloader("http://%s:%d/%s"
% (addr[0], port,documentId))