diff --git a/src/xpra/util.py b/src/xpra/util.py index 6bdae49a3d..437f8608f0 100644 --- a/src/xpra/util.py +++ b/src/xpra/util.py @@ -271,12 +271,12 @@ def print_leaks(): def std(_str, extras="-,./ "): def f(v): return str.isalnum(str(v)) or v in extras - return filter(f, _str) + return "".join(filter(f, _str)) def alnum(_str): def f(v): return str.isalnum(str(v)) - return filter(f, _str) + return "".join(filter(f, _str)) def nn(x): if x is None: