fix open folder/file in windows

This commit is contained in:
Marcos Pinto 2008-08-17 22:40:59 +00:00
parent dbdc72913c
commit 0f1f5529ba
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ def get_logo(size):
def open_file(path): def open_file(path):
"""Opens a file or folder.""" """Opens a file or folder."""
if windows_check(): if windows_check():
os.startfile("'%s'" % path) os.startfile("%s" % path)
else: else:
subprocess.Popen(["xdg-open", "%s" % path]) subprocess.Popen(["xdg-open", "%s" % path])