diff options
author | Jeffrey C. Ollie <jeff@ocjtech.us> | 2008-08-12 22:27:42 -0500 |
---|---|---|
committer | Jeffrey C. Ollie <jeff@ocjtech.us> | 2008-08-12 22:27:42 -0500 |
commit | 590eadfa40bdc93dbe6876a641d5b91c8ea9db9c (patch) | |
tree | 656ebfc5a1e2bffac8888116cefaf68754bc6d11 | |
parent | 5687fa4f15fa56200434b1b281ad1b07798bf8f8 (diff) | |
download | nohgooee-590eadfa40bdc93dbe6876a641d5b91c8ea9db9c.tar.gz nohgooee-590eadfa40bdc93dbe6876a641d5b91c8ea9db9c.tar.xz nohgooee-590eadfa40bdc93dbe6876a641d5b91c8ea9db9c.zip |
Apply Patch5 from Fedora RPMs
-rw-r--r-- | BitTorrent/Storage.py | 2 |
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): |