From 49f3c5f989345b838782016458672a7862063110 Mon Sep 17 00:00:00 2001 From: Cyril Levis Date: Sun, 8 Jul 2018 20:41:09 +0200 Subject: [PATCH] fix travis, deprecate paths placeholder --- py3status/modules/file_status.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/py3status/modules/file_status.py b/py3status/modules/file_status.py index f79bb0315e..5d15b09b0d 100644 --- a/py3status/modules/file_status.py +++ b/py3status/modules/file_status.py @@ -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: @@ -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):