1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-11-11 04:33:03 +00:00

user list column value and tags editor (#1938)

Bugfixes for massedit in user list (#1938)
Changed no. of debug messages
This commit is contained in:
Ozzie Isaacs
2021-04-25 10:42:41 +02:00
parent 450ee43677
commit 97e4707f72
6 changed files with 276 additions and 149 deletions

View File

@@ -61,6 +61,7 @@ def get_user_info(credentials):
return user_info.get('email', "")
def send_messsage(token, msg):
log.debug("Start sending email via Gmail")
creds = Credentials(
token=token['token'],
refresh_token=token['refresh_token'],
@@ -79,3 +80,4 @@ def send_messsage(token, msg):
body = {'raw': raw}
(service.users().messages().send(userId='me', body=body).execute())
log.debug("Email send successfully via Gmail")