I try to create a shortcut in Python which opens multiple files at once.

My current script is here: http://codepad.org/XJWeenUB

It opens the file I need, but it opens also an empty file and returns an error:
(gedit:6555): GLib-GIO-CRITICAL **: g_dbus_connection_get_capabilities: assertion `G_IS_DBUS_CONNECTION (connection)' failed

How to fix it, plz?

- Ubuntu 11.10 / 64bit
- Python 2.7.2+