From 6486973a058305f4ea4471e1e45be3798441f75e Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Thu, 22 Jan 2015 11:16:04 +0100 Subject: fix module name parsing thx to @guiniol --- py3status/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py3status') diff --git a/py3status/__init__.py b/py3status/__init__.py index 5cc91a5..40baa65 100755 --- a/py3status/__init__.py +++ b/py3status/__init__.py @@ -1131,7 +1131,7 @@ class Py3statusWrapper(): if not f_name.endswith('.py'): continue - module_name = f_name.rstrip('.py') + module_name = f_name[:-3] if self.py3_modules: # i3status.conf based behaviour (using order += 'xx') -- cgit v1.3