unisi 0.3.30__py3-none-any.whl → 0.3.31__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.
unisi/autotest.py CHANGED
@@ -185,7 +185,11 @@ def check_module(module):
185
185
  def run_tests(user):
186
186
  errors = []
187
187
  for module in user.screens:
188
- errors += check_module(module)
188
+ module_errors = check_module(module)
189
+ if module_errors:
190
+ errors += module_errors
191
+ else:
192
+ module.screen.set_reactivity(user) #because Users.py 95 does not set reactivity for screens for 0 user
189
193
  if errors:
190
194
  errors.insert(0, f'\n!!----Detected errors in screens:')
191
195
  print('\n'.join(errors), '\n')
unisi/users.py CHANGED
@@ -91,7 +91,8 @@ class User:
91
91
  screen.toolbar += User.toolbar
92
92
  else:
93
93
  screen.toolbar = User.toolbar
94
- screen.set_reactivity(self)
94
+ if User.count > 0:
95
+ screen.set_reactivity(self)
95
96
  module.screen = screen#ChangedProxy(screen, screen)
96
97
  return module
97
98
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unisi
3
- Version: 0.3.30
3
+ Version: 0.3.31
4
4
  Summary: Unified System Interface, GUI and Remote API
5
5
  Author-Email: UNISI Tech <g.dernovoy@gmail.com>
6
6
  License: Apache-2.0
@@ -1,9 +1,9 @@
1
- unisi-0.3.30.dist-info/METADATA,sha256=Fo60KkIUK41ekLMjlZnw6xAUP6P0ZmGzrgxqUS4YLoQ,27266
2
- unisi-0.3.30.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
- unisi-0.3.30.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
- unisi-0.3.30.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1
+ unisi-0.3.31.dist-info/METADATA,sha256=JkhI_YGU4wfu1Jk5MSGUp9IoVhslMRRCJKdmfsGl__M,27266
2
+ unisi-0.3.31.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
+ unisi-0.3.31.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
+ unisi-0.3.31.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
5
5
  unisi/__init__.py,sha256=prG4FwJzpNJRX1trto0x_4Bne3kkpEX1dUxcRnIxWVw,301
6
- unisi/autotest.py,sha256=HsTnEII7XlX4NcfyD-ZYqNfOCnXVZhRQeuITbGHjCuQ,8804
6
+ unisi/autotest.py,sha256=rY44RnSMIxkwCexNwS1j5LmE7Gx76Pu_da5er_vNPL8,9002
7
7
  unisi/common.py,sha256=QHSS-pQDtLZxeZls0eDl8-EmYJZuaRmYO1M9izCly-Y,5791
8
8
  unisi/containers.py,sha256=dmRHogzjIVoc0qu713bOPOPBp2QrN-LEA4Wn3owF0Yg,7223
9
9
  unisi/dbunits.py,sha256=g1h9pjoSwJrJ0Hmph-xv5jE1yfrxJeXGfuSnyVTg3j8,7438
@@ -21,7 +21,7 @@ unisi/reloader.py,sha256=t7z0NgaeJX52044ue_LxITa99WMuE5Jra9qkMEeGhTg,6941
21
21
  unisi/server.py,sha256=owUV_siimohV-PZwMkkIRTnynY0wxpia2la3Vjqy9g8,6658
22
22
  unisi/tables.py,sha256=1ZjR_eJ_vf0h26kdv2PjLV3t2cPMoqCV17MQjfilTX0,13810
23
23
  unisi/units.py,sha256=ync0qi1yh03ij6MdgB0dJNBcMY3SeLLURzBV8XgwwXA,11540
24
- unisi/users.py,sha256=3SzB2jeJ4fTl9AMKdEymV4wGiYKMb0OgWRrFzLJRKyU,16425
24
+ unisi/users.py,sha256=ZKRTgsxATmnrGhTYk87XuLAWptgZbjfs9KAcoi3UxBQ,16456
25
25
  unisi/utils.py,sha256=I5UF97kH5Xsx3ZtU-7tJNhOAKtdf7TMO0KyhaH9I8gc,2657
26
26
  unisi/voicecom.py,sha256=QzS1gIrBeGLO5dEwiu7KIEdJIIVbPBZFGb5nY632Ws8,16707
27
27
  unisi/web/css/312.2bdc526c.css,sha256=E2kfiWrKmaXQaR79f3K7m4NHxEKhah_jn-fS7oDZ7Rk,3508
@@ -55,4 +55,4 @@ unisi/web/js/sigma.ce21336a.js,sha256=ngST-065XWOdnR_Xn7U6oGNHTL8fyiOEI9V8-BWRvl
55
55
  unisi/web/js/sigma.ce21336a.js.gz,sha256=zv6oToZZFCfmrZ4G4fw0sOncVe8-dyYNWh2v5QLKZp4,51965
56
56
  unisi/web/js/vendor.6a64dcc5.js,sha256=OSNK2nadU2DnSOEYQQcAmelybITOFZXMxnRyaDoT3yU,747104
57
57
  unisi/web/js/vendor.6a64dcc5.js.gz,sha256=nmtqRzQRWaToxgHxI9hfJd3UrUCg2-fd-0Fjc4H4wu8,245827
58
- unisi-0.3.30.dist-info/RECORD,,
58
+ unisi-0.3.31.dist-info/RECORD,,
File without changes