AIEmailAutomationUtility 0.0.25__py3-none-any.whl → 0.0.26__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.
@@ -393,15 +393,15 @@ class Process_Category:
393
393
 
394
394
  if "pdf" in mime_type:
395
395
  document_type = "Orders"
396
- elif "msword" in mime_type or "wordprocessingml" in mime_type or filename.endswith(".docx"):
396
+ elif "msword" in mime_type or "wordprocessingml" in mime_type or filename.lower().endswith(".docx"):
397
397
  document_type = "Order Excel"
398
- elif "excel" in mime_type or "spreadsheetml" in mime_type or filename.endswith((".xls", ".xlsx")):
398
+ elif "excel" in mime_type or "spreadsheetml" in mime_type or filename.lower().endswith((".xls", ".xlsx")):
399
399
  document_type = "Order Excel"
400
- elif "csv" in mime_type or filename.endswith(".csv"):
400
+ elif "csv" in mime_type or filename.lower().endswith(".csv"):
401
401
  document_type = "Order Excel"
402
- elif "plain" in mime_type or filename.endswith(".txt"):
402
+ elif "plain" in mime_type or filename.lower().endswith(".txt"):
403
403
  document_type = "Order Email"
404
- elif "rtf" in mime_type or filename.endswith(".rtf"):
404
+ elif "rtf" in mime_type or filename.lower().endswith(".rtf"):
405
405
  document_type = "Order Excel"
406
406
 
407
407
  today_date = datetime.today().strftime('%Y-%m-%d') # Format: YYYY-MM-DD
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: AIEmailAutomationUtility
3
- Version: 0.0.25
4
- Summary: Save attachment according to doctype
3
+ Version: 0.0.26
4
+ Summary: Resolve the issue of email and excel file uploading on orders
5
5
  Author: Proteus Technology PVT. LTD.
6
6
  Author-email: <apps@baseinformation.com>
7
7
  Keywords: python,first package
@@ -13,4 +13,4 @@ Classifier: Operating System :: MacOS :: MacOS X
13
13
  Classifier: Operating System :: Microsoft :: Windows
14
14
  License-File: LICENCE.txt
15
15
 
16
- Save attachment according to doctype
16
+ Resolve the issue of email and excel file uploading on orders
@@ -4,12 +4,12 @@ AIEmailAutomationUtility/Email_DocumentUploader.py,sha256=YJu4tuTHr0K-5vuds9gZfj
4
4
  AIEmailAutomationUtility/Email_Draft.py,sha256=DcyBeDaE8CReKHnHxLiz-o2tDxuUgwy91c4k0qhQbVw,7749
5
5
  AIEmailAutomationUtility/Email_Read.py,sha256=UJDHdsr5RN_GG5OsOvUKbKziaw0a-kR3TT0iUv0oRmI,27795
6
6
  AIEmailAutomationUtility/Email_Upload_Document.py,sha256=3bdkxfDlwoeRp-46KPw2Gs1dqBhEIoA1yE5GCudpdV8,1320
7
- AIEmailAutomationUtility/Process_Category.py,sha256=fmcSdb-yfv1SgamNomTVFZ1m7RICRoTW7dGS4aa4wW0,41194
7
+ AIEmailAutomationUtility/Process_Category.py,sha256=EojfyGAN7U6NIBqinikJIauEgzz-ZQhHpzcjNr1No9M,41234
8
8
  AIEmailAutomationUtility/Save_Draft.py,sha256=yzLgFN14I_lXE6qL0I3tKNduvcnWdbsY9i2mKdTtio4,5348
9
9
  AIEmailAutomationUtility/Save_Transaction.py,sha256=Gg1w6hhzHmEFjsuzYvkq-3-EsWReetjLHsYSv5YIGgM,3816
10
10
  AIEmailAutomationUtility/__init__.py,sha256=Jad3IdPRsVMeLqEEh-FbCrc1lE2tzJO2DTG5Hgmxh5g,391
11
- AIEmailAutomationUtility-0.0.25.dist-info/LICENCE.txt,sha256=2qX9IkEUBx0VJp1Vh9O2dsRwE-IpYId0lXDyn7OVsJ8,1073
12
- AIEmailAutomationUtility-0.0.25.dist-info/METADATA,sha256=wJMVGNyydAOlOVXUGd7AsB0ndMtZr_o9o5h-zrxP9fo,573
13
- AIEmailAutomationUtility-0.0.25.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
14
- AIEmailAutomationUtility-0.0.25.dist-info/top_level.txt,sha256=3jTWrTUblVkaP7mpwY2UBSnrlfot5Ykpfsehyke-Uzw,25
15
- AIEmailAutomationUtility-0.0.25.dist-info/RECORD,,
11
+ AIEmailAutomationUtility-0.0.26.dist-info/LICENCE.txt,sha256=2qX9IkEUBx0VJp1Vh9O2dsRwE-IpYId0lXDyn7OVsJ8,1073
12
+ AIEmailAutomationUtility-0.0.26.dist-info/METADATA,sha256=8n0W1uGzS7F2kkzHYPYi32axicmcCOapZ-LK8ql7fKs,623
13
+ AIEmailAutomationUtility-0.0.26.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
14
+ AIEmailAutomationUtility-0.0.26.dist-info/top_level.txt,sha256=3jTWrTUblVkaP7mpwY2UBSnrlfot5Ykpfsehyke-Uzw,25
15
+ AIEmailAutomationUtility-0.0.26.dist-info/RECORD,,