omit full path from preview

This commit is contained in:
dave 2018-05-02 20:18:56 -07:00
parent 1855f7437e
commit 9aa23fe417
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
from setuptools import setup
setup(name='tvsort',
version='0.0.1',
version='0.0.2',
description='CLI tool to sort tv shows into directories',
url='http://gitlab.xmopx.net/dave/tvsort',
author='dpedu',

View File

@ -108,10 +108,10 @@ def main():
results.sort(key=lambda x: x.dest.dir)
for item in results:
row = [i,
os.path.join(item.root, item.ep.file),
item.ep.file,
item.ep.major,
item.ep.minor,
os.path.join(item.dest.root, item.dest.dir, item.subdest) + "/",
os.path.join(item.dest.dir, item.subdest) + "/",
item.score,
"soft" if args.soft else "hard"]
tab_rows.append(row)