Browse Source

omit full path from preview

master
dave 4 years ago
parent
commit
9aa23fe417
  1. 2
      setup.py
  2. 4
      tvsort/cli.py

2
setup.py

@ -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',

4
tvsort/cli.py

@ -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)

Loading…
Cancel
Save