Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

random fixes and maybe improvements #147

Merged
merged 28 commits into from
Oct 30, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
oops
koo5 committed Oct 24, 2020
commit b46b05b98a6ea608985f43d5add6f46f96a55515
1 change: 1 addition & 0 deletions src/promnesia/sources/auto.py
Original file line number Diff line number Diff line change
@@ -313,6 +313,7 @@ def _index_file(pp: Path, opts: Options) -> Results:
# TODO dispatch org mode here?
# TODO try/catch?

pm = None
if suf not in SMAP:
pm = mime(pp)
if pm not in SMAP: