Permalink
Browse files

Fix non quoted path [#21]

  • Loading branch information...
1 parent 7fb7f01 commit d070e07ba4c27a887dca0bbfd1cf104048bdad48 @carlosantoniodasilva carlosantoniodasilva committed Feb 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 gmate.py
View
@@ -26,7 +26,7 @@
url = "file://%s" % urllib.quote(path)
config.set_string(os.path.join(base,'virtual_root'), url)
else:
- parameters += ' '+ path
+ parameters += ' "%s"' % path
os.system('nohup gedit ' + parameters + ' > /dev/null 2>&1 &')
else:
os.system('nohup gedit > /dev/null 2>&1 &')

0 comments on commit d070e07

Please sign in to comment.