summaryrefslogtreecommitdiffstats
path: root/py3status/__init__.py
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2015-01-22 11:16:04 +0100
committerUltrabug <ultrabug@gentoo.org>2015-01-22 11:16:04 +0100
commit6486973a058305f4ea4471e1e45be3798441f75e (patch)
tree5862f31e9b23ceede31728f3fc390bc9d9d5fe72 /py3status/__init__.py
parent97a5ce4d944a7c907846a1437ab3bed96ec713bd (diff)
fix module name parsing thx to @guiniol
Diffstat (limited to 'py3status/__init__.py')
-rwxr-xr-xpy3status/__init__.py2
1 files changed, 1 insertions, 1 deletions
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')