bennomeier / leCroyParser

A Python Module to parse LeCroy Binary Trace Files
MIT License
12 stars 8 forks source link

Fix for windows file names #13

Closed JeroenvO closed 1 year ago

JeroenvO commented 1 year ago

On windows file paths can be given with \ instead of /, and the following lines in parseall fails: https://github.com/bennomeier/leCroyParser/blob/master/lecroyparser/__init__.py#L45 I suggest adding a line before to do path=path.replace('\\', '/')

bennomeier commented 1 year ago

Thanks - I have added that line.