mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-15 04:46:37 +00:00
Tweaks to process open code.
This commit is contained in:
parent
897d394581
commit
5dafdc95df
@ -55,8 +55,8 @@ class FilesTabManager(FilesBaseManager):
|
||||
convert_path_to_child_path(path)
|
||||
file_name = self.file_store.get_value(
|
||||
self.file_store.get_iter(child_path), 0)
|
||||
os.system('%s "%s" &' % (self.file_viewer,
|
||||
os.path.join(save_dir, file_name)))
|
||||
os.popen4('%s "%s"' % (self.file_viewer,
|
||||
os.path.join(save_dir, file_name)))
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
|
@ -657,7 +657,7 @@ class DelugeGTK:
|
||||
torrent_path = os.path.join(torrent_path,
|
||||
file["path"].split("/", 1)[0])
|
||||
|
||||
os.system('%s "%s"' % (file_manager, torrent_path))
|
||||
os.popen4('%s "%s"' % (file_manager, torrent_path))
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user