From cd78dbdd95d0b52d5ce64226d13ad7b9a3e4eba4 Mon Sep 17 00:00:00 2001 From: nikosapi Date: Sun, 8 Feb 2009 14:30:47 -0500 Subject: [PATCH] Make playing episodes with spaces in their filenames work --- src/gpodder/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpodder/util.py b/src/gpodder/util.py index 89791f9c..02ac0238 100644 --- a/src/gpodder/util.py +++ b/src/gpodder/util.py @@ -617,7 +617,7 @@ def format_desktop_command( command, filename): for key, value in items.items(): if command.find( key) >= 0: - return command.replace( key, value) + return command.replace( key, '"%s"' % value) return '%s "%s"' % ( command, filename ) -- 2.11.4.GIT