Comments not working when running on windows

Issue #279 resolved
Wilhelm Putz created an issue

When runnning openpyxl on windows comments are not working. I tracked down the problem to openpyxl-1.8.3\openpyxl\reader\ method get_comments_file The problem is that running on windows path.normpath returns \ instead of / as directory separator, resulting in comments not read from source file. As a quickfix for me I did a comments_file=comments_file.replace('\\','/') and it worked.

Comments (5)

  1. Log in to comment