-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,9 @@ | |
|
||
import json | ||
import sys | ||
import os | ||
|
||
import sentry_sdk | ||
import bugsnag | ||
from genanki import Note | ||
from genanki.util import guid_for | ||
|
||
|
@@ -20,9 +21,10 @@ | |
from helpers.sanitize_tags import sanitize_tags | ||
from helpers.write_apkg import _write_new_apkg # pylint: disable=import-error | ||
|
||
sentry_sdk.init( | ||
dsn="https://[email protected]/6495216", | ||
traces_sample_rate=1.0) | ||
bugsnag.configure( | ||
api_key="2f08834329c1aec8ee63d1586c92bd39", | ||
project_root=os.path.dirname(os.path.abspath(__file__)), | ||
) | ||
|
||
if __name__ == "__main__": | ||
if len(sys.argv) < 2: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# make sure to update the alemayhu/base-image-n2a | ||
# and pull it in the live server: ssh [email protected] docker pull alemayhu/base-image-n2a | ||
genanki==0.13.0 | ||
sentry-sdk==1.28.0 | ||
fastapi>=0.68.0,<0.96.0 | ||
pydantic>=1.8.0,<2.0.0 | ||
uvicorn>=0.15.0,<0.23.0 | ||
pylint>=2.17.0 | ||
bugsnag>=4.5.0 | ||
|
||
ftfy~=6.1.1 | ||
ftfy~=6.1.1 |