Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Error when calling exec_request #77

@RSHum23

Description

@RSHum23
elsapy\elsclient.py:109, in ElsClient.exec_request(self, URL)
    107 if self.inst_token:
    108     headers["X-ELS-Insttoken"] = self.inst_token
--> 109 logger.info('Sending GET request to ' + URL)
    110 r = requests.get(
    111     URL,
    112     headers = headers
    113     )
    114 self.__ts_last_req = time.time()

TypeError: can only concatenate str (not "int") to str

logger.info('Sending GET request to ' + URL) should be changed into logger.info('Sending GET request to ' + str(URL))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions