From 36f1ee0cffc66b034a4477c65b0252c88b868dfc Mon Sep 17 00:00:00 2001 From: repic Date: Tue, 12 Nov 2013 11:55:37 +0100 Subject: [PATCH] Added space between last two columns --- pirate-get.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pirate-get.py b/pirate-get.py index 805ecf4..0c32a01 100755 --- a/pirate-get.py +++ b/pirate-get.py @@ -102,7 +102,7 @@ def main(): if mags and len(mags) > 0: # enhanced print output with column titles - print "\n%-5s %-6s %-6s %-5s %-11s %-11s %s" % ( "LINK", "SEED", "LEECH", "RATIO", "SIZE", "UPLOAD", "NAME") + print "\n%-5s %-6s %-6s %-5s %-11s %-11s %s" % ( "LINK", "SEED", "LEECH", "RATIO", "SIZE", "UPLOAD", "NAME") for m in range(len(mags)): magnet = mags[m] name = re.search("dn=([^\&]*)", magnet[0]) @@ -114,7 +114,7 @@ def main(): ratio = 0 # enhanced print output with justified columns - print "%-5s %-6s %-6s %5.1f %-11s %-11s %s" % (m, magnet[1], magnet[2], ratio ,sizes[m], uploaded[m],urllib.unquote(name.group(1).encode('ascii')).decode('utf-8').replace("+", " ") ) + print "%-5s %-6s %-6s %5.1f %-11s %-11s %s" % (m, magnet[1], magnet[2], ratio ,sizes[m], uploaded[m],urllib.unquote(name.group(1).encode('ascii')).decode('utf-8').replace("+", " ") ) try: l = raw_input("Select a link: ")