summaryrefslogtreecommitdiff
path: root/net-p2p/py-bittorrent/files/patch-launchmany-console.py
blob: caed82fbf042ad81fa0e90f40b2e9d234d7c61cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"))