notebookvb
This commit is contained in:
@@ -8,12 +8,16 @@ from datetime import date
|
||||
import customtkinter as ctk
|
||||
from tkinter import messagebox
|
||||
|
||||
PROJECT_ROOT = Path(__file__).resolve().parent.parent.parent.parent
|
||||
sys.path.insert(0, str(PROJECT_ROOT))
|
||||
if not getattr(sys, "frozen", False):
|
||||
_project_root = Path(__file__).resolve().parent.parent.parent.parent
|
||||
sys.path.insert(0, str(_project_root))
|
||||
|
||||
from Knihovny.najdi_dropbox import get_dropbox_root
|
||||
from Knihovny.vzpb2b_client import VZPB2BClient
|
||||
from Knihovny.EmailMessagingGraph import send_mail
|
||||
|
||||
DROPBOX = Path(get_dropbox_root())
|
||||
|
||||
EMAIL_CHYBY = "vladimir.buzalka@buzalka.cz"
|
||||
|
||||
def _zpracuj_chybu(exc: BaseException):
|
||||
@@ -38,7 +42,10 @@ def _zpracuj_chybu(exc: BaseException):
|
||||
|
||||
# ── KONFIGURACE ───────────────────────────────────────────────────────────────
|
||||
|
||||
PFX_PATH = Path(r"U:\OrdinaceProjekt\Insurance\Certificates\picka.pfx")
|
||||
if getattr(sys, "frozen", False):
|
||||
PFX_PATH = Path(sys._MEIPASS) / "picka.pfx"
|
||||
else:
|
||||
PFX_PATH = Path(r"U:\OrdinaceProjekt\Insurance\Certificates\picka.pfx")
|
||||
PFX_PASS = "Vlado7309208104+"
|
||||
|
||||
ODBORNOSTI_NAZVY = {
|
||||
|
||||
@@ -4,8 +4,8 @@ a = Analysis(
|
||||
['KdoJeLekarApp.py'],
|
||||
pathex=[r'U:\OrdinaceProjekt'],
|
||||
binaries=[],
|
||||
datas=[],
|
||||
hiddenimports=['customtkinter', 'msal', 'requests_pkcs12'],
|
||||
datas=[(r'U:\OrdinaceProjekt\Insurance\Certificates\picka.pfx', '.')],
|
||||
hiddenimports=['customtkinter', 'msal', 'requests_pkcs12', 'winreg'],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -3,6 +3,9 @@
|
||||
('Knihovny.EmailMessagingGraph',
|
||||
'U:\\OrdinaceProjekt\\Knihovny\\EmailMessagingGraph.py',
|
||||
'PYMODULE'),
|
||||
('Knihovny.najdi_dropbox',
|
||||
'U:\\OrdinaceProjekt\\Knihovny\\najdi_dropbox.py',
|
||||
'PYMODULE'),
|
||||
('Knihovny.vzpb2b_client',
|
||||
'U:\\OrdinaceProjekt\\Knihovny\\vzpb2b_client.py',
|
||||
'PYMODULE'),
|
||||
|
||||
Binary file not shown.
@@ -19,6 +19,7 @@
|
||||
<span class="moduletype">Script</span> <div class="import">
|
||||
imports:
|
||||
<a href="#Knihovny.EmailMessagingGraph">Knihovny.EmailMessagingGraph</a>
|
||||
• <a href="#Knihovny.najdi_dropbox">Knihovny.najdi_dropbox</a>
|
||||
• <a href="#Knihovny.vzpb2b_client">Knihovny.vzpb2b_client</a>
|
||||
• <a href="#_collections_abc">_collections_abc</a>
|
||||
• <a href="#_weakrefset">_weakrefset</a>
|
||||
@@ -188,6 +189,7 @@ imports:
|
||||
• <a href="#types">types</a>
|
||||
• <a href="#warnings">warnings</a>
|
||||
• <a href="#weakref">weakref</a>
|
||||
• <a href="#winreg">winreg</a>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -398,6 +400,7 @@ imported by:
|
||||
<span class="moduletype">Package</span> <div class="import">
|
||||
imported by:
|
||||
<a href="#Knihovny.EmailMessagingGraph">Knihovny.EmailMessagingGraph</a>
|
||||
• <a href="#Knihovny.najdi_dropbox">Knihovny.najdi_dropbox</a>
|
||||
• <a href="#Knihovny.vzpb2b_client">Knihovny.vzpb2b_client</a>
|
||||
|
||||
</div>
|
||||
@@ -426,6 +429,25 @@ imported by:
|
||||
|
||||
</div>
|
||||
|
||||
<div class="node">
|
||||
<a name="Knihovny.najdi_dropbox"></a>
|
||||
<a target="code" href="///U:/OrdinaceProjekt/Knihovny/najdi_dropbox.py" type="text/plain"><tt>Knihovny.najdi_dropbox</tt></a>
|
||||
<span class="moduletype">SourceModule</span> <div class="import">
|
||||
imports:
|
||||
<a href="#Knihovny">Knihovny</a>
|
||||
• <a href="#json">json</a>
|
||||
• <a href="#os">os</a>
|
||||
• <a href="#winreg">winreg</a>
|
||||
|
||||
</div>
|
||||
<div class="import">
|
||||
imported by:
|
||||
<a href="#KdoJeLekarApp.py">KdoJeLekarApp.py</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="node">
|
||||
<a name="Knihovny.vzpb2b_client"></a>
|
||||
<a target="code" href="///U:/OrdinaceProjekt/Knihovny/vzpb2b_client.py" type="text/plain"><tt>Knihovny.vzpb2b_client</tt></a>
|
||||
@@ -13112,7 +13134,6 @@ imports:
|
||||
• <a href="#importlib">importlib</a>
|
||||
• <a href="#importlib._bootstrap">importlib._bootstrap</a>
|
||||
• <a href="#importlib._bootstrap_external">importlib._bootstrap_external</a>
|
||||
• <a href="#importlib.machinery">importlib.machinery</a>
|
||||
• <a href="#sys">sys</a>
|
||||
• <a href="#warnings">warnings</a>
|
||||
|
||||
@@ -13250,7 +13271,6 @@ imports:
|
||||
<div class="import">
|
||||
imported by:
|
||||
<a href="#ctypes.util">ctypes.util</a>
|
||||
• <a href="#importlib">importlib</a>
|
||||
• <a href="#importlib.abc">importlib.abc</a>
|
||||
• <a href="#inspect">inspect</a>
|
||||
• <a href="#pkgutil">pkgutil</a>
|
||||
@@ -13908,7 +13928,8 @@ imports:
|
||||
</div>
|
||||
<div class="import">
|
||||
imported by:
|
||||
<a href="#charset_normalizer.models">charset_normalizer.models</a>
|
||||
<a href="#Knihovny.najdi_dropbox">Knihovny.najdi_dropbox</a>
|
||||
• <a href="#charset_normalizer.models">charset_normalizer.models</a>
|
||||
• <a href="#customtkinter.windows.widgets.theme.theme_manager">customtkinter.windows.widgets.theme.theme_manager</a>
|
||||
• <a href="#json.decoder">json.decoder</a>
|
||||
• <a href="#json.encoder">json.encoder</a>
|
||||
@@ -22832,6 +22853,7 @@ imports:
|
||||
<div class="import">
|
||||
imported by:
|
||||
<a href="#KdoJeLekarApp.py">KdoJeLekarApp.py</a>
|
||||
• <a href="#Knihovny.najdi_dropbox">Knihovny.najdi_dropbox</a>
|
||||
• <a href="#PIL.AvifImagePlugin">PIL.AvifImagePlugin</a>
|
||||
• <a href="#PIL.BlpImagePlugin">PIL.BlpImagePlugin</a>
|
||||
• <a href="#PIL.BmpImagePlugin">PIL.BmpImagePlugin</a>
|
||||
@@ -28028,7 +28050,9 @@ imported by:
|
||||
<a name="winreg"></a>
|
||||
<tt>winreg</tt> <span class="moduletype"><i>(builtin module)</i></span> <div class="import">
|
||||
imported by:
|
||||
<a href="#darkdetect._windows_detect">darkdetect._windows_detect</a>
|
||||
<a href="#KdoJeLekarApp.py">KdoJeLekarApp.py</a>
|
||||
• <a href="#Knihovny.najdi_dropbox">Knihovny.najdi_dropbox</a>
|
||||
• <a href="#darkdetect._windows_detect">darkdetect._windows_detect</a>
|
||||
• <a href="#importlib._bootstrap_external">importlib._bootstrap_external</a>
|
||||
• <a href="#mimetypes">mimetypes</a>
|
||||
• <a href="#platform">platform</a>
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user