kwebsocket 1.1__tar.gz → 1.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: kwebsocket
3
- Version: 1.1
3
+ Version: 1.2
4
4
  Summary: kwebsocket
5
5
  Home-page: UNKNOWN
6
6
  Author: 百里
@@ -9,5 +9,5 @@ Maintainer: 坤坤
9
9
  Maintainer-email: fk1402936534@qq.com
10
10
  License: MIT License
11
11
  Description: UNKNOWN
12
- Keywords: kwebsocket1.1
12
+ Keywords: kwebsocket1.2
13
13
  Platform: UNKNOWN
@@ -1,4 +1,4 @@
1
1
  # -*- coding: utf-8 -*-
2
- __version__ = '1.1'
2
+ __version__ = '1.2'
3
3
  from .rfdszbfnbxrdfgvxrhbdtxrhtbs import vsregrsgtrdhbrhtrsgrshydtrsegregsresgr
4
4
  client=vsregrsgtrdhbrhtrsgrshydtrsegregsresgr()
@@ -83,6 +83,12 @@ class vsregrsgtrdhbrhtrsgrshydtrsegregsresgr:
83
83
  self.__close_th_lock()
84
84
  raise Exception('连接已中止,请重新连接')
85
85
  time.sleep(0.1)
86
+ except BrokenPipeError:
87
+ self.close()
88
+ if i>=self.__config['break']:
89
+ self.__close_th_lock()
90
+ raise Exception('连接已中止,请重新连接')
91
+ time.sleep(0.1)
86
92
  except:
87
93
  self.close()
88
94
  self.__close_th_lock()
@@ -102,6 +108,12 @@ class vsregrsgtrdhbrhtrsgrshydtrsegregsresgr:
102
108
  self.__close_th_lock()
103
109
  raise Exception('连接已中止,请重新连接')
104
110
  time.sleep(0.1)
111
+ except BrokenPipeError:
112
+ self.close()
113
+ if i>=self.__config['break']:
114
+ self.__close_th_lock()
115
+ raise Exception('连接已中止,请重新连接')
116
+ time.sleep(0.1)
105
117
  except:
106
118
  self.close()
107
119
  self.__close_th_lock()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: kwebsocket
3
- Version: 1.1
3
+ Version: 1.2
4
4
  Summary: kwebsocket
5
5
  Home-page: UNKNOWN
6
6
  Author: 百里
@@ -9,5 +9,5 @@ Maintainer: 坤坤
9
9
  Maintainer-email: fk1402936534@qq.com
10
10
  License: MIT License
11
11
  Description: UNKNOWN
12
- Keywords: kwebsocket1.1
12
+ Keywords: kwebsocket1.2
13
13
  Platform: UNKNOWN
File without changes
File without changes