Skip to content

Commit

Permalink
升级依赖版本库
Browse files Browse the repository at this point in the history
  • Loading branch information
mailgyc committed May 24, 2021
1 parent a567123 commit 1824a61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
10 changes: 1 addition & 9 deletions doudizhu/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,4 @@ def database_url(url):
'propagate': True,
},
}
}

if os.getenv('SENTRY_DSN'):
import sentry_sdk
from sentry_sdk.integrations.tornado import TornadoIntegration
sentry_sdk.init(
dsn=os.getenv('SENTRY_DSN'),
integrations=[TornadoIntegration()]
)
}
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
aiomysql~=0.0.20
pyjwt~=1.7
sentry-sdk~=0.15
aiomysql~=0.0.21
pyjwt~=2.1
tornado~=6.0
#uvloop~=0.12

0 comments on commit 1824a61

Please sign in to comment.