Skip to content

Commit

Permalink
Fix incorrect definition of abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanhed committed Dec 30, 2023
1 parent ca11103 commit 6e35d7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mijnbib/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import logging
import re
import urllib.parse
from abc import abstractmethod
from abc import ABC, abstractmethod
from datetime import datetime

from bs4 import BeautifulSoup
Expand All @@ -25,9 +25,9 @@
# complicated, see also https://stackoverflow.com/a/25328374/50899


class Parser:
class Parser(ABC):
@abstractmethod
def parse():
def parse(self):
pass


Expand Down

0 comments on commit 6e35d7e

Please sign in to comment.