Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSAMPERE committed Nov 27, 2024
1 parent fb0b8e4 commit 16caf35
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions modules/api/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def handle_reply(self, reply: QNetworkReply):
logger.debug("Handling reply to a 'details' request")
self.details_sig.emit(parsed_content, self.get_tags(parsed_content.get("tags")))
else:
logger.debug("Unkown reply type : {}".format(parsed_content))
logger.debug("Unknown reply type : {}".format(parsed_content))
# no errors detected but empty API's reply content
else:
if self.loopCount < 3:
Expand All @@ -300,7 +300,7 @@ def handle_reply(self, reply: QNetworkReply):
else:
logger.error(
"Request to the API failed. Empty reply for the third time. "
"Weither no catalog is shared with the plugin, or there is no "
"Either no catalog is shared with the plugin, or there is no "
"Internet connection."
)
self.api_sig.emit("shares_issue")
Expand Down Expand Up @@ -398,7 +398,7 @@ def get_tags(self, tags: dict):
"""This parse the tags contained in API_answer[tags] and class them so
they are more easy to handle in other function such as update_fields()
:param dict tags: a dict of tags as thez are return by the API
:param dict tags: a dict of tags as they are return by the API
return: a dict containing one dict for each type of tags
Expand Down Expand Up @@ -472,7 +472,7 @@ def get_tags(self, tags: dict):
# unused[tags.get(tag, tag)] = tag
continue

# override API tags to allow all datasets filter - see #
# override API tags to allow all datasets filter - see #210
if type_dataset > 1:
md_types[self.tr("Dataset", context=__class__.__name__)] = "type:dataset"
else:
Expand Down
2 changes: 1 addition & 1 deletion modules/isogeo_pysdk/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class IsogeoTranslator(object):
"""

def __init__(self, lang: str = "FR"):
"""Instanciate IsogeoTranslator depending on required language.
"""Instantiate IsogeoTranslator depending on required language.
:param str lang: language code to apply. EN or FR.
"""
Expand Down
4 changes: 2 additions & 2 deletions modules/layer/add_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
try:
import requests

logger.info("Depencencies - Requests version: {}".format(requests.__version__))
logger.info("Dependencies - Requests version: {}".format(requests.__version__))
except ImportError:
logger.warning("Depencencies - Requests not available")
logger.warning("Dependencies - Requests not available")

# ############################################################################
# ########## Classes ###############
Expand Down
2 changes: 1 addition & 1 deletion modules/search_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def pop_qs_cbbs(self, items_list: list = None):
"""Called by Isogeo.search_slot method. Clears quick searches comboboxes
(also the one in settings tab) and fills them from 'items_list' parameter.
:param list items_list: a list of quick searche's names
:param list items_list: a list of quick search's names
from _user/quicksearches.json file.
"""
logger.debug("Filling quick searches comboboxes")
Expand Down

0 comments on commit 16caf35

Please sign in to comment.