Skip to content

Commit

Permalink
fix travis, deprecate paths placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrinux committed Jul 8, 2018
1 parent fe2f975 commit 49f3c5f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion py3status/modules/file_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Py3status:
format = u'\?color=path [\?if=path \u25cf|\u25a0]'
format_path = u'{basename}'
format_path_separator = u' '
path = None
paths = None
thresholds = [(0, 'bad'), (1, 'good')]

class Meta:
Expand All @@ -88,6 +88,13 @@ class Meta:
'msg': 'obsolete parameter use `paths`'
},
],
'rename_placeholder': [
{
'placeholder': 'paths',
'new': 'path',
'format_strings': ['format'],
},
],
}

def post_config_hook(self):
Expand Down

0 comments on commit 49f3c5f

Please sign in to comment.