rbeesoft 2.0.4__tar.gz → 2.0.5__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.
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/PKG-INFO +1 -1
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/pyproject.toml +1 -1
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/rbeesoftmainwindow.py +2 -2
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/common/licensemanager.py +2 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/README.md +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/__init__.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/__init__.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/core/__init__.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/generatekeys.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/license.json +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/main.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/signlicense.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/__init__.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/processes/__init__.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/processes/dummyprocess.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/processes/process.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/processes/processrunner.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/settings.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/widgets/__init__.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/widgets/centraldockwidget.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/widgets/logdockwidget.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/widgets/pages/__init__.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/widgets/pages/page.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/app/ui/widgets/pages/pagerouter.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/common/__init__.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/common/licenseexception.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/common/logmanager.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/common/logmanagerlistener.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/common/singleton.py +0 -0
- {rbeesoft-2.0.4 → rbeesoft-2.0.5}/src/rbeesoft/webapp/__init__.py +0 -0
|
@@ -121,9 +121,9 @@ class RbeesoftMainWindow(QMainWindow):
|
|
|
121
121
|
LOG.info('License OK')
|
|
122
122
|
return True
|
|
123
123
|
except LicenseException as e:
|
|
124
|
-
LOG.
|
|
124
|
+
LOG.info(e)
|
|
125
125
|
return False
|
|
126
|
-
LOG.
|
|
126
|
+
LOG.info('No license found')
|
|
127
127
|
return False
|
|
128
128
|
|
|
129
129
|
def load_geometry_and_state(self):
|
|
@@ -28,6 +28,8 @@ class LicenseManager:
|
|
|
28
28
|
def verify(self, file_path):
|
|
29
29
|
if isinstance(file_path, str):
|
|
30
30
|
file_path = Path(file_path)
|
|
31
|
+
if not file_path.exists():
|
|
32
|
+
raise LicenseException('No license found')
|
|
31
33
|
try:
|
|
32
34
|
signed = json.loads(file_path.read_text(encoding='utf-8'))
|
|
33
35
|
payload = signed['payload']
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|