Opened 3 months ago

Closed 3 months ago

#6 closed defect (invalid)

Python under Windows cannot work with "\" in path strings

Reported by: frankl Owned by:
Priority: major Milestone:
Version: Keywords:
Cc:

Description (last modified by frankl)

Path strings in Python under Windows needs to be set as "
" or "/".
For example: ExamGenerator class get initialized with a template_dir as string to find the jinja2 template. if that path strings is divided by "\" an error will raise that the template cannot be found.

This issue is obsolete since Path from Pathlib can deal with both.

Change History (1)

comment:1 by frankl, 3 months ago

Description: modified (diff)
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.