diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2015-01-22 11:16:04 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2015-01-22 11:16:04 +0100 |
| commit | 6486973a058305f4ea4471e1e45be3798441f75e (patch) | |
| tree | 5862f31e9b23ceede31728f3fc390bc9d9d5fe72 /py3status/__init__.py | |
| parent | 97a5ce4d944a7c907846a1437ab3bed96ec713bd (diff) | |
fix module name parsing thx to @guiniol
Diffstat (limited to 'py3status/__init__.py')
| -rwxr-xr-x | py3status/__init__.py | 2 |
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') |
