Rename my_configuration to mycfg for brevity

This commit is contained in:
Dima Gerasimov 2019-12-19 19:45:25 +00:00
parent cd804091c3
commit 78acb1b359
31 changed files with 65 additions and 70 deletions

View file

@ -3,7 +3,7 @@ Uses instapaper API data export JSON file.
Set via
- ~configure~ method
- or in ~my_configuration.instpaper.export_path~
- or in ~mycfg.instpaper.export_path~
TODO upload my exporter script to github..
"""
@ -29,8 +29,8 @@ def _get_files():
# TODO use helper method from common to get json[s]?
export_path = _export_path
if export_path is None:
# fallback to my_configuration
# TODO import my_configuration?
# fallback to mycfg
# TODO import mycfg?
from . import paths
export_path = paths.instapaper.export_path
return list(sorted(Path(export_path).glob('*.json')))