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,7 +1,11 @@
|
|||
import mycfg.repos.stexport.model as stexport
|
||||
from mycfg import paths
|
||||
'''
|
||||
Stackexchange data
|
||||
'''
|
||||
|
||||
import my.config.repos.stexport.model as stexport
|
||||
from my.config import stackexchange as config
|
||||
|
||||
|
||||
def get_data():
|
||||
sources = [max(paths.stexport.export_dir.glob('*.json'))]
|
||||
sources = [max(config.export_dir.glob('*.json'))]
|
||||
return stexport.Model(sources).site_model('stackoverflow')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue