use my.config instead of mycfg; minor cleanups and docstrings
This commit is contained in:
parent
f31ff71e6f
commit
e5b3a1e91e
37 changed files with 142 additions and 110 deletions
|
@ -1,4 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from .. import init
|
||||
|
||||
import csv
|
||||
import json
|
||||
from datetime import datetime
|
||||
|
@ -6,10 +9,10 @@ from typing import Iterator, List, NamedTuple
|
|||
|
||||
from ..common import get_files
|
||||
|
||||
from mycfg import paths
|
||||
from my.config import imdb as config
|
||||
|
||||
def _get_last():
|
||||
return max(get_files(paths.imdb.export_path, glob='*.csv'))
|
||||
return max(get_files(config.export_path, glob='*.csv'))
|
||||
|
||||
|
||||
class Movie(NamedTuple):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue