mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-23 04:54:51 +00:00
fix open folder/file in windows
This commit is contained in:
parent
dbdc72913c
commit
0f1f5529ba
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ def get_logo(size):
|
|||
def open_file(path):
|
||||
"""Opens a file or folder."""
|
||||
if windows_check():
|
||||
os.startfile("'%s'" % path)
|
||||
os.startfile("%s" % path)
|
||||
else:
|
||||
subprocess.Popen(["xdg-open", "%s" % path])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue