mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-10 19:46:22 +00:00
Add flake8 to setup.cfg and add missed change to #2303 fix
This commit is contained in:
parent
e3f3b6d751
commit
7dd276631a
@ -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…
x
Reference in New Issue
Block a user