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