berryworld 1.0.0.169865__py3-none-any.whl → 1.0.0.170753__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- berryworld/email_con.py +5 -0
- {berryworld-1.0.0.169865.dist-info → berryworld-1.0.0.170753.dist-info}/METADATA +1 -1
- {berryworld-1.0.0.169865.dist-info → berryworld-1.0.0.170753.dist-info}/RECORD +6 -6
- {berryworld-1.0.0.169865.dist-info → berryworld-1.0.0.170753.dist-info}/LICENSE +0 -0
- {berryworld-1.0.0.169865.dist-info → berryworld-1.0.0.170753.dist-info}/WHEEL +0 -0
- {berryworld-1.0.0.169865.dist-info → berryworld-1.0.0.170753.dist-info}/top_level.txt +0 -0
berryworld/email_con.py
CHANGED
|
@@ -267,6 +267,8 @@ class EmailConnection:
|
|
|
267
267
|
response = requests.get(url=base_url, headers=header)
|
|
268
268
|
json_resp = response.json()
|
|
269
269
|
|
|
270
|
+
if 'value' not in json_resp.keys():
|
|
271
|
+
return False
|
|
270
272
|
emails_df = pd.DataFrame(json_resp['value'])
|
|
271
273
|
if emails_df.shape[0] > 0:
|
|
272
274
|
emails_df = emails_df.loc[emails_df['isRead'] == False]
|
|
@@ -278,6 +280,9 @@ class EmailConnection:
|
|
|
278
280
|
|
|
279
281
|
@staticmethod
|
|
280
282
|
def get_mimetype(file_path):
|
|
283
|
+
""" Get the mimetype of the file to be attached to the email
|
|
284
|
+
:param file_path: Path of the file to be attached
|
|
285
|
+
"""
|
|
281
286
|
# Get mimetype
|
|
282
287
|
mimetype = None
|
|
283
288
|
extension = None
|
|
@@ -6,7 +6,7 @@ berryworld/app_logs_query.py,sha256=U94b-z3X9cuY_KFozupUcfaYciXWBn7p_RHkoRsfROU,
|
|
|
6
6
|
berryworld/cache_data.py,sha256=2cStWbFQHimon_lHMbcM_0vU7lt-FCge96D-T9YXaxQ,2242
|
|
7
7
|
berryworld/credentials.py,sha256=Knxo4gssLT7sbaBjOTFe3mX5k70G2e0M_6CdtlddjtA,10200
|
|
8
8
|
berryworld/devops.py,sha256=BAsVonVwCXoApUOovkt-BCzwc6KnXjxRDGff_ejSGw8,9719
|
|
9
|
-
berryworld/email_con.py,sha256=
|
|
9
|
+
berryworld/email_con.py,sha256=_QGA575BPVIqz7Z2AAghZCgN9YOkgDDYDpvcwnNo6ns,14358
|
|
10
10
|
berryworld/email_logging.py,sha256=br2wlwoxVspEuUJJ7VXa4hUxPbBKBRfSKfTQ0GRrreI,3468
|
|
11
11
|
berryworld/generate_env.py,sha256=Tk9Z_u7cA4Ve8YYTyLH2qwmLVAuYoTIWoFc0h8Va8lY,7842
|
|
12
12
|
berryworld/handy_mix.py,sha256=SLCAdl2xaWEewWkECzcVFUDODDEkvUgpmJjTiccyVwU,9771
|
|
@@ -29,8 +29,8 @@ tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
29
29
|
tests/test_allocation_config.py,sha256=e12l6fE9U57eSPS35g6ekJ_hol7-RHg89JV60_m1BlE,4633
|
|
30
30
|
tests/test_handy_mix_config.py,sha256=Un56mz9KJmdn4K4OwzHAHLSRzDU1Xv2nFrONNuzOG04,2594
|
|
31
31
|
tests/test_xml_parser.py,sha256=3QTlhFEd6KbK6nRFKZnc35tad6wqukTbe4QrFi8mr_8,859
|
|
32
|
-
berryworld-1.0.0.
|
|
33
|
-
berryworld-1.0.0.
|
|
34
|
-
berryworld-1.0.0.
|
|
35
|
-
berryworld-1.0.0.
|
|
36
|
-
berryworld-1.0.0.
|
|
32
|
+
berryworld-1.0.0.170753.dist-info/LICENSE,sha256=vtkVCJM6E2af2gnsi2XxKPr4WY-uIbvzVLXieFND0UU,1074
|
|
33
|
+
berryworld-1.0.0.170753.dist-info/METADATA,sha256=fvG-6-6i-EWLQJdwZ4a86jcOrjgpGHYVP8Yx_8S4G6k,1107
|
|
34
|
+
berryworld-1.0.0.170753.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
35
|
+
berryworld-1.0.0.170753.dist-info/top_level.txt,sha256=GIZ5qy-P5oxfEH755vA1IMFeTVdX3-40JxMe6nOe5I8,17
|
|
36
|
+
berryworld-1.0.0.170753.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|