aboutsummaryrefslogtreecommitdiffstats
path: root/src/__main__.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-02 20:16:32 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-02 20:16:32 +0200
commitdb87e541891cca731172445b7edea04add87938c (patch)
tree83a40122c776685f32dfd67a99fb8bcade3fbb01 /src/__main__.py
parentadd support for XDG_CONFIG_DIRS (diff)
downloadxpybar-db87e541891cca731172445b7edea04add87938c.tar.gz
xpybar-db87e541891cca731172445b7edea04add87938c.tar.bz2
xpybar-db87e541891cca731172445b7edea04add87938c.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/__main__.py')
-rwxr-xr-xsrc/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/__main__.py b/src/__main__.py
index 722e453..cfda11d 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -492,7 +492,7 @@ def setproctitle(title):
# of slashes in the title. At least that is
# the observed behaviour when using procps-ng.
title = title.split('/')[-1]
- # Create strng buffer with title
+ # Create string buffer with title
title = title.encode(sys.getdefaultencoding(), 'replace')
title = ctypes.create_string_buffer(title)
if 'linux' in sys.platform: