File tree Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ class Help_Funcs:
1212 argument -- description
1313 Return: return_description
1414 """
15+
1516 def send_email (subject : str , message : str , reviver : str ) -> bool :
1617 """sumary_line
1718
@@ -71,18 +72,14 @@ def __init__(self,
7172 self .encoder = encoder
7273
7374 def encode (self ) -> bytes :
74- """
75- Encode string for privacy and encryption.
76- """
75+ """Encode string for privacy and encryption."""
7776 msg_bytes = self .message .encode (self .encoder )
7877 string_bytes = base64 .b64encode (msg_bytes )
7978 string = string_bytes .decode (self .encoder )
8079 return string
8180
8281 def decode (self ) -> bytes :
83- """
84- Decode string for privacy and encryption.
85- """
82+ """Decode string for privacy and encryption."""
8683 msg_bytes = self .message .encode (self .encoder )
8784 string_bytes = base64 .b64decode (msg_bytes )
8885 string = string_bytes .decode (self .encoder )
Original file line number Diff line number Diff line change 1- """
2- this has all of imports and other init configs and other main
3- """
1+ """this has all of imports and other init configs and other main"""
42import warnings
53
64from flask import *
Original file line number Diff line number Diff line change 44
55
66def encode (message : str ) -> bytes :
7- """
8- Encode string for privacy and encryption.
9- """
7+ """Encode string for privacy and encryption."""
108 msg_bytes = message .encode ("latin-1" )
119 string_bytes = base64 .b64encode (msg_bytes )
1210 string = string_bytes .decode ("latin-1" )
1311 return string
1412
1513
1614def decode (message : str ) -> bytes :
17- """
18- Decode string for privacy and encryption.
19- """
15+ """Decode string for privacy and encryption."""
2016 msg_bytes = message .encode ("latin-1" )
2117 string_bytes = base64 .b64decode (msg_bytes )
2218 string = string_bytes .decode ("latin-1" )
You can’t perform that action at this time.
0 commit comments