Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2cc87d6

Browse files
committed
remove stupid log message on reading emails gmail api tutorial 2
1 parent48ec6eb commit2cc87d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎general/gmail-api/read_emails.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def parse_parts(service, parts, folder_name, message):
3939
ifpart.get("parts"):
4040
# recursively call this function when we see that a part
4141
# has parts inside
42-
print("calling parse_parts with folder_name:",folder_name)
4342
parse_parts(service,part.get("parts"),folder_name,message)
4443
ifmimeType=="text/plain":
4544
# if the email part is text plain
@@ -72,7 +71,7 @@ def parse_parts(service, parts, folder_name, message):
7271
filepath=os.path.join(folder_name,filename)
7372
ifdata:
7473
withopen(filepath,"wb")asf:
75-
f.write(urlsafe_b64decode(data))
74+
f.write(urlsafe_b64decode(data))
7675

7776

7877
defread_message(service,message):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp