Skip to content

import doesn't upper() jpg extension #47

Open

Description

@Stefal

If the image files extension are ".jpg" and not ".JPG" the import doesn't rename them to APN*.JPG but APN*.jpg
Then, the toolchain doesn't work.

I tried to patch this bug, but I didn't find where to do it.

Activity

  1. zyioump commented on Jan 5, 2019

    @zyioump
    Member

    This function upload images to dm and rename them https://github.com/OpenPathView/OPV_importData/blob/master/opv_import/services/ressource_manager.py#L119
    You can fix it like that:

    >>> '.jpg'.upper()
    '.JPG'
  2. Stefal commented on Jan 5, 2019

    @Stefal
    Author

    Thank you @zyioump
    Here is #48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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