Skip to content

Commit

Permalink
Merge pull request #62 from PaulMcInnis/logpath-fix
Browse files Browse the repository at this point in the history
Path validate fix for Windows
  • Loading branch information
markkvdb authored Jan 24, 2020
2 parents 5677fc8 + 4b6f58c commit e87b8fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,6 @@ $RECYCLE.BIN/
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# VScode trash
.vscode/
2 changes: 1 addition & 1 deletion jobfunnel/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.1.2'
__version__ = '2.1.3'
6 changes: 3 additions & 3 deletions jobfunnel/config/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def validate_region(region):
if region['domain'] not in DOMAINS:
raise ConfigError('domain')

# search term state is inserted as province if province does not already
# search term state is inserted as province if province does not already
# exist
if 'state' in region:
if (region['state'] is not None) and (region['province'] is None):
Expand Down Expand Up @@ -51,8 +51,8 @@ def validate_config(config):
'data_path': r'data$',
'master_list_path': r'master_list\.csv$',
'duplicate_list_path': r'duplicate_list\.csv$',
'log_path': r'data\/jobfunnel.log$',
'filter_list_path': r'data\/filter_list\.json$',
'log_path': r'data[\\\/]jobfunnel.log$',
'filter_list_path': r'data[\\\/]filter_list\.json$',
}

for path, pattern in check_paths.items():
Expand Down

0 comments on commit e87b8fe

Please sign in to comment.