Skip to content

Commit 9a42455

Browse files
authored
Update abstract_filter.py to use "ABCMeta" format.
1 parent 85f20e6 commit 9a42455

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

filters/abstract_filter.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ def new_f(self, *l):
5353
return new_f
5454

5555

56-
class AbstractFilter(ABC):
56+
class AbstractFilter():
5757
"""
5858
Basic Interface of a filter.
5959
This is an Abstract Base Class.
6060
"""
61+
__metaclass__ = ABCMeta
6162

6263
# The number of scans required for the learning process.
6364
# It should be defined in the initialize() function and changing the value after the initialization has no effect.

0 commit comments

Comments
 (0)