add more stuff to kompress; less kython deps

This commit is contained in:
Dima Gerasimov 2020-02-01 15:17:13 +00:00
parent b852e5a3a3
commit e3b3b12ff1
5 changed files with 59 additions and 22 deletions

View file

@ -5,7 +5,7 @@ from .common import get_files
from mycfg import paths
from kython.kompress import open as kopen
from .kython.kompress import kopen
def get_last_takeout(*, path: Optional[str]=None) -> Path:
"""
@ -21,6 +21,7 @@ def get_last_takeout(*, path: Optional[str]=None) -> Path:
return takeout
except:
# TODO eh, a bit horrible, but works for now..
# TODO move ot kompress? 'kexists'?
continue
raise RuntimeError(f'Not found: {path}')