update
This commit is contained in:
23
AzA march 2026/apps/diktat/audio_notiz_app.py
Normal file
23
AzA march 2026/apps/diktat/audio_notiz_app.py
Normal file
@@ -0,0 +1,23 @@
|
||||
"""Startskript fuer die Audio-Notiz (Standalone)."""
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
|
||||
def main():
|
||||
"""Einstiegspunkt fuer Launcher/Import (auch wenn frozen)."""
|
||||
_diktat_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
if _diktat_dir not in sys.path:
|
||||
sys.path.insert(0, _diktat_dir)
|
||||
|
||||
try:
|
||||
from apps.diktat.diktat_app import DiktatApp
|
||||
except ImportError:
|
||||
from diktat_app import DiktatApp
|
||||
|
||||
app = DiktatApp()
|
||||
app.mainloop()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user