Skip to content

Commit

Permalink
in teoria ora va
Browse files Browse the repository at this point in the history
  • Loading branch information
B3rs committed May 28, 2012
1 parent fcff71f commit a5f3458
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bittorrent/teamGML/threads/request_emitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def register_part_to_tracker(self, file, part_num):
response = read_from_socket(sock,4)
if response == "APAD":
part_num = read_from_socket(sock, 8)
if part_num == file.numeropartichepossiedoperquestofile():
if part_num == file.get_completed_file_parts_count():
klog("Part succesfully registered")
else:
klog("Wrong partnumber from directory")
Expand Down
2 changes: 1 addition & 1 deletion bittorrent/teamGML/ui/qt/qbittorrent_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _draw_transfer_item(self, container, filename, id, part_number, peer_ip, per
progress_bar.setMinimum(0)
progress_bar.setMaximum(100)
progress_bar.setValue(percent)
container.setItemWidget(item, 1, progress_bar)
container.setItemWidget(item, 3, progress_bar)


#PUBLIC Methods (ovverides from AbstractUI in the future)
Expand Down

0 comments on commit a5f3458

Please sign in to comment.