Skip to content

Update template: issue if path to python PYTHON_WIN starts with a lowercap letter (e.g. "c:\" instead of "C:\") #234

Description

@sdementen

In the excel template, if one uses in the PYTHON_WIN a path starting with lowercap the DriveCommand variable is not set proprerly.
The [A-Z] range should be extended to [A-Za-z] in code below in ExecuteWindows

If Left$(PYTHON_WIN, 2) Like "[A-Z]:" Then
    ' If Python is installed on a mapped or local drive, change to drive, then cd to path
    DriveCommand = Left$(PYTHON_WIN, 2) & " & cd " & PYTHON_WIN & " & "

I can do a pull request by not sure if the diff on the excel template will make any sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions