kmisc 2.1.108__py3-none-any.whl → 2.1.109__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.
kmisc/__init__.py CHANGED
@@ -2528,7 +2528,10 @@ def net_send_data(sock,data,key='kg',enc=False,timeout=0,instant=False,log=None,
2528
2528
 
2529
2529
  def net_receive_data(sock,key='kg',progress=None,retry=0,retry_timeout=30,progress_msg=None,log=None,err_scr=True):
2530
2530
  # decode code here
2531
- ok,size,data_type,enc=packet_head(sock,retry=retry,timeout=retry_timeout)
2531
+ try:
2532
+ ok,size,data_type,enc=packet_head(sock,retry=retry,timeout=retry_timeout)
2533
+ except:
2534
+ return [False,None]
2532
2535
  if krc(ok,chk=True):
2533
2536
  # File not found Error log size is 57. So if 57 then ignore progress
2534
2537
  if size == 57: progress=False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kmisc
3
- Version: 2.1.108
3
+ Version: 2.1.109
4
4
  Summary: Enginering useful library
5
5
  Home-page: https://github.com/kagepark/kmisc
6
6
  Author: Kage Park
@@ -0,0 +1,6 @@
1
+ kmisc/__init__.py,sha256=mWY098snoDA5dNTnnsgassmxdQDreEsQK_yQfPCf2Fs,135397
2
+ kmisc-2.1.109.dist-info/LICENSE,sha256=mn9ekhb34HJxsrVhcxrLXJUzy55T62zg-Gh9Ro0mVJI,1066
3
+ kmisc-2.1.109.dist-info/METADATA,sha256=hkp6711xlZCLB_Oa0uYnlXuC_0dDXW8j_qOI-EQjtV0,5523
4
+ kmisc-2.1.109.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
5
+ kmisc-2.1.109.dist-info/top_level.txt,sha256=wvdHf5aQTqcGYvxk-F9E_BMWLMhlwC8INBmwO-V6_X4,6
6
+ kmisc-2.1.109.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- kmisc/__init__.py,sha256=3_ljqkR1T2S_a6_v2bED--mlxg1NJ1DgEU6zPoIgpRU,135344
2
- kmisc-2.1.108.dist-info/LICENSE,sha256=mn9ekhb34HJxsrVhcxrLXJUzy55T62zg-Gh9Ro0mVJI,1066
3
- kmisc-2.1.108.dist-info/METADATA,sha256=v1QA1QqssS37IEcH86ICFBXEY8FMkInHewFqzKirgH4,5523
4
- kmisc-2.1.108.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
5
- kmisc-2.1.108.dist-info/top_level.txt,sha256=wvdHf5aQTqcGYvxk-F9E_BMWLMhlwC8INBmwO-V6_X4,6
6
- kmisc-2.1.108.dist-info/RECORD,,