aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/py-bittorrent/files/patch-launchmany-console.py
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/py-bittorrent/files/patch-launchmany-console.py')
-rw-r--r--net-p2p/py-bittorrent/files/patch-launchmany-console.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/py-bittorrent/files/patch-launchmany-console.py b/net-p2p/py-bittorrent/files/patch-launchmany-console.py
new file mode 100644
index 000000000000..caed82fbf042
--- /dev/null
+++ b/net-p2p/py-bittorrent/files/patch-launchmany-console.py
@@ -0,0 +1,15 @@
+--- launchmany-console.py.orig Sat Dec 16 08:53:05 2006
++++ launchmany-console.py Sat Dec 16 08:53:27 2006
+@@ -80,10 +80,10 @@
+ if args:
+ torrent_dir = args[0]
+ config['torrent_dir'] = \
+- platform.decode_from_filesystem(torrent_dir)
++ decode_from_filesystem(torrent_dir)
+ else:
+ torrent_dir = config['torrent_dir']
+- torrent_dir,bad = platform.encode_for_filesystem(torrent_dir)
++ torrent_dir,bad = encode_for_filesystem(torrent_dir)
+ if bad:
+ raise BTFailure(_("Warning: ")+config['torrent_dir']+
+ _(" is not a directory"))