From: David ‘Bombe’ Roden Date: Sun, 9 Apr 2017 07:18:19 +0000 (+0200) Subject: Add another size to the blacklist X-Git-Tag: v2~105 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ba6b32ab058b779132c17929bcb9452905a4cd05;p=rhynodge.git Add another size to the blacklist --- diff --git a/src/main/kotlin/net/pterodactylus/rhynodge/filters/SizeBlacklistFilter.kt b/src/main/kotlin/net/pterodactylus/rhynodge/filters/SizeBlacklistFilter.kt index 57df9a9..d982655 100644 --- a/src/main/kotlin/net/pterodactylus/rhynodge/filters/SizeBlacklistFilter.kt +++ b/src/main/kotlin/net/pterodactylus/rhynodge/filters/SizeBlacklistFilter.kt @@ -8,7 +8,7 @@ import net.pterodactylus.rhynodge.states.TorrentState /** * Blacklist that filters torrents with a certain size. */ -class SizeBlacklistFilter(private val blacklistedSizes: Iterable = listOf("313.97 MiB", "331.97 MiB", "716.05 MiB")): Filter { +class SizeBlacklistFilter(private val blacklistedSizes: Iterable = listOf("313.97 MiB", "331.97 MiB", "716.05 MiB", "314.21 MiB")): Filter { override fun filter(state: State): State { val torrentState = state as? TorrentState ?: return FailedState()