handle updated twitter archive
This commit is contained in:
parent
66790cb9f4
commit
6c5d713a17
2 changed files with 34 additions and 9 deletions
|
@ -45,3 +45,12 @@ class CPath(PosixPath):
|
|||
|
||||
|
||||
open = kopen # TODO FIXME remove?
|
||||
|
||||
|
||||
# meh
|
||||
def kexists(path: PathIsh, subpath: str) -> bool:
|
||||
try:
|
||||
kopen(path, subpath)
|
||||
return True
|
||||
except Exception:
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue