Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demetsiiify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def create_app():

def make_redis():
redis = StrictRedis.from_url('redis://redis:6379/0')
# For our SSE endoint, we want to be notified of all changes to hashmaps
# For our SSE endpoint, we want to be notified of all changes to hashmaps
# with a given key (i.e. when a job is updated)
redis.config_set('notify-keyspace-events', 'Kh')
return redis
Expand Down
2 changes: 1 addition & 1 deletion demetsiiify/imgfetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


class ImageDownloadError(Exception):
"""An error that occured while downloading an image."""
"""An error that occurred while downloading an image."""

def __init__(self, message: str, debug_info: dict = None) -> None:
super().__init__(message)
Expand Down
4 changes: 2 additions & 2 deletions demetsiiify/mets.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class TocEntry:


class MetsParseError(Exception):
"""An exception that occured while parsing a METS file."""
"""An exception that occurred while parsing a METS file."""

def __init__(self, message: str, debug_info: dict = None) -> None:
super().__init__(message)
Expand Down Expand Up @@ -92,7 +92,7 @@ def __init__(self, mets_tree: etree.ElementTree, url: str = None,
"""Parse a METS document.

This will read the metadata, table of contents and general
file informations. The width and heights of the images is
file information. The width and heights of the images is
not determined.
"""
self.url = url
Expand Down