mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Add flake8 to setup.cfg and add missed change to #2303 fix
This commit is contained in:
parent
e3f3b6d751
commit
7dd276631a
2 changed files with 7 additions and 2 deletions
|
@ -888,9 +888,10 @@ class TorrentManager(component.Component):
|
|||
|
||||
torrent.update_state()
|
||||
if not torrent.is_finished and total_download:
|
||||
torrent.is_finished = True
|
||||
component.get("EventManager").emit(TorrentFinishedEvent(torrent_id))
|
||||
|
||||
torrent.is_finished = True
|
||||
else:
|
||||
torrent.is_finished = True
|
||||
|
||||
# Torrent is no longer part of the queue
|
||||
try:
|
||||
|
|
|
@ -13,3 +13,7 @@ includes = glib, gio, cairo, pango, pangocairo, atk, gobject, gtk.keysyms,
|
|||
twisted.internet, twisted.internet.utils, twisted.protocols,
|
||||
zope.interface, mako.cache, email.mime, libtorrent, gtkosx_application
|
||||
frameworks = CoreFoundation, Foundation, AppKit
|
||||
|
||||
[flake8]
|
||||
max-line-length = 120
|
||||
builtins = _
|
||||
|
|
Loading…
Add table
Reference in a new issue