diff options
Diffstat (limited to 'src/wikiget/file.py')
| -rw-r--r-- | src/wikiget/file.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wikiget/file.py b/src/wikiget/file.py index 8de62ae..e2599c5 100644 --- a/src/wikiget/file.py +++ b/src/wikiget/file.py @@ -15,8 +15,6 @@ # You should have received a copy of the GNU General Public License # along with Wikiget. If not, see <https://www.gnu.org/licenses/>. -from typing import Any - from mwclient.image import Image from wikiget import DEFAULT_SITE @@ -46,7 +44,7 @@ class File: self.dest = dest if dest else name self.site = site if site else DEFAULT_SITE - def __eq__(self, other: Any) -> bool: + def __eq__(self, other: object) -> bool: """ Compares this File object with another for equality. |
