summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2008-08-12 22:27:42 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2008-08-12 22:27:42 -0500
commit590eadfa40bdc93dbe6876a641d5b91c8ea9db9c (patch)
tree656ebfc5a1e2bffac8888116cefaf68754bc6d11
parent5687fa4f15fa56200434b1b281ad1b07798bf8f8 (diff)
downloadnohgooee-590eadfa40bdc93dbe6876a641d5b91c8ea9db9c.tar.gz
nohgooee-590eadfa40bdc93dbe6876a641d5b91c8ea9db9c.tar.xz
nohgooee-590eadfa40bdc93dbe6876a641d5b91c8ea9db9c.zip
Apply Patch5 from Fedora RPMs
-rw-r--r--BitTorrent/Storage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BitTorrent/Storage.py b/BitTorrent/Storage.py
index 197fdef..a494cb7 100644
--- a/BitTorrent/Storage.py
+++ b/BitTorrent/Storage.py
@@ -213,7 +213,7 @@ class Storage(object):
resumefile.write(str(amount_done) + '\n')
for x, x, filename in self.ranges:
resumefile.write(str(os.path.getsize(filename)) + ' ' +
- str(os.path.getmtime(filename)) + '\n')
+ str(int(os.path.getmtime(filename))) + '\n')
def check_fastresume(self, resumefile, return_filelist=False,
piece_size=None, numpieces=None, allfiles=None):