PaulMcInnis / JobFunnel

Scrape job websites into a single spreadsheet with no duplicates.
MIT License
1.81k stars 212 forks source link

Path validate fix for Windows #62

Closed markkvdb closed 4 years ago

markkvdb commented 4 years ago

Path validate fix (Windows)

Description

The regex to check for valid log and filter lists used a regex which only works for UNIX systems. This pull request adds support for Windows.

Context of change

Please add options that are relevant and mark any boxes that apply.

Type of change

Please mark any boxes that apply.

How Has This Been Tested?

A windows user should test whether the changes no longer breaks at the validation step.

Checklist:

Please mark any boxes that have been completed.

studentbrad commented 4 years ago

Great! Thanks for doing this. We should avoid changing the single quotes to double quotes however unless there is a good reason. It’s not that either one is right or wrong, just that single quotes took precedence in this project for bs4 + regex purposes. Also, you are in a race for version 2.1.2 due to another PR. 😄

markkvdb commented 4 years ago

@studentbrad Oh darn I don't know how that happened with the double quotes. I will also update the version number.