Skip to content

Commit

Permalink
skip empty CSV values
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@6182 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 27, 2014
1 parent 0cc6a78 commit 9f3a07a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xpra/keyboard/layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,7 @@ def parse_xkbmap_query(xkbmap_query):
for line in xkbmap_query.splitlines():
m = opt_re.match(line)
if m:
settings[m.group(1)] = m.group(2).strip()
v = m.group(2).strip()
if v!=",":
settings[m.group(1)] = v
return settings

0 comments on commit 9f3a07a

Please sign in to comment.