Changeset 2040

Show
Ignore:
Timestamp:
10/23/07 06:49:27 (15 months ago)
Author:
markybob
Message:

fix last

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • tags/deluge-0.5.5.95/src/core.py

    r2039 r2040  
    988988            up = float((self.unique_IDs[unique_ID].initial_uploaded_memory + self.get_core_torrent_state(unique_ID, False)['total_upload']) / 1024) 
    989989        except AttributeError: 
    990             up = float(self.get_core_torrent_state(unique_ID, False) / 1024) 
     990            up = float(self.get_core_torrent_state(unique_ID, False)['total_upload'] / 1024) 
    991991        down = float(torrent_state["total_done"] / 1024) 
    992992        try: 
  • trunk/src/core.py

    r2039 r2040  
    988988            up = float((self.unique_IDs[unique_ID].initial_uploaded_memory + self.get_core_torrent_state(unique_ID, False)['total_upload']) / 1024) 
    989989        except AttributeError: 
    990             up = float(self.get_core_torrent_state(unique_ID, False) / 1024) 
     990            up = float(self.get_core_torrent_state(unique_ID, False)['total_upload'] / 1024) 
    991991        down = float(torrent_state["total_done"] / 1024) 
    992992        try: