Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Lewis <jtl1728@rit.edu>2009-12-18 15:03:48 (GMT)
committer Justin Lewis <jtl1728@rit.edu>2009-12-18 15:03:48 (GMT)
commitb8e5f5d4bc0bdcff6abcbc8805abae7ec172b15a (patch)
treef4774826d24c74f3b44a10caa6e382e987c5b657
parentfd4095656b457da08f24ec0ea1e4752eb97d7e28 (diff)
Fixed formated strings for new id type
-rw-r--r--FileShare.activity/FileShareActivity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/FileShare.activity/FileShareActivity.py b/FileShare.activity/FileShareActivity.py
index ed65839..52c0e12 100644
--- a/FileShare.activity/FileShareActivity.py
+++ b/FileShare.activity/FileShareActivity.py
@@ -146,7 +146,7 @@ class FileShareActivity(Activity):
try:
os.remove( bundle_path )
except:
- _logger.warn("Could not remove file from system: %d",bundle_path)
+ _logger.warn("Could not remove file from system: %s",bundle_path)
def requestInsFile(self, widget, data=None):
_logger.info('Requesting to install file back to journal')
@@ -493,7 +493,7 @@ class FileShareActivity(Activity):
def _download_progress_cb(self, getter, bytes_downloaded, fileId):
# FIXME: signal the expected size somehow, so we can draw a progress
# bar
- _logger.debug("Downloaded %u bytes for document id %d...",bytes_downloaded, fileId)
+ _logger.debug("Downloaded %u bytes for document id %s...",bytes_downloaded, fileId)
fileInQuestion = self.sharedFiles[fileId]
downloadPercent = (float(bytes_downloaded)/float(fileInQuestion[4]))*100.0