Skip to content

Fix CLI long options and logger TypeError #139

@Kunal241207

Description

@Kunal241207
  • In scripts/upload.py, the long options are defined as -path and -url, which argparse does not treat as valid long options. They should be--path and --url.

  • In exporter.py, the logger call concatenates a string with an exception object:
    logger.error("export failed: " + ex)

    This can raise a TypeError if ex is not a string.

If this seems reasonable, I would start a PR to address these.

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