diff options
author | Frederick Yin <fkfd@macaw.me> | 2020-06-19 19:20:58 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@macaw.me> | 2020-06-19 19:20:58 +0800 |
commit | bd8a1b8d460d6857ea8c9ab8544550492ba82cc8 (patch) | |
tree | e269e7773bf290147c0cf2fc615a851fbf938f59 /git-gmi/git.py | |
parent | 4110a4df25170289dce8690a572d26c58063adb9 (diff) |
Separate config from consts
Diffstat (limited to 'git-gmi/git.py')
-rw-r--r-- | git-gmi/git.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-gmi/git.py b/git-gmi/git.py index c8fa5c6..a0eb5e0 100644 --- a/git-gmi/git.py +++ b/git-gmi/git.py @@ -2,6 +2,7 @@ from pygit2 import * from hurry.filesize import size, alternative import mimetypes from const import * +from config import * mimetypes.add_type("text/gemini", ".gmi") mimetypes.add_type("text/gemini", ".gemini") |