Skip to content

Commit ed468ac

Browse files
author
shivaco
authored
Merge pull request top-gg-community#20 from AlphaMycelium/fix-error-import
Fix usage of UnauthorizedDetected
2 parents 60a9aaa + f2acb66 commit ed468ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dbl/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async def request(self, method, url, **kwargs):
8484
async with rate_limiter: # this works but doesn't 'save' over restart. need a better implementation.
8585

8686
if not self.token:
87-
raise UnauthorizedDetected("DBL token not provided")
87+
raise errors.UnauthorizedDetected("DBL token not provided")
8888

8989
headers = {
9090
'User-Agent': self.user_agent,

0 commit comments

Comments
 (0)