general: minor cleanup
- get rid of unnecessary globs in get_files (they should be in config if the user wishes) - get rid of some old kython imports - do not convert Path twice in foursquare (so CPath works correctly)
This commit is contained in:
parent
5799c062a5
commit
71cda586ad
10 changed files with 20 additions and 58 deletions
|
@ -3,12 +3,12 @@ import csv
|
|||
from datetime import datetime
|
||||
from typing import Iterator, List, NamedTuple
|
||||
|
||||
from ..common import get_files
|
||||
from ..core import get_files
|
||||
|
||||
from my.config import imdb as config
|
||||
|
||||
def _get_last():
|
||||
return max(get_files(config.export_path, glob='*.csv'))
|
||||
return max(get_files(config.export_path))
|
||||
|
||||
|
||||
class Movie(NamedTuple):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue