Skip to content

Commit

Permalink
Merge pull request #1777 from freedomofpress/export-with-json
Browse files Browse the repository at this point in the history
Veracrypt support
  • Loading branch information
cfm authored Feb 22, 2024
2 parents 5f76f10 + 0367a08 commit ca304c8
Show file tree
Hide file tree
Showing 72 changed files with 9,877 additions and 6,189 deletions.
9 changes: 2 additions & 7 deletions client/securedrop_client/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from PyQt5.QtCore import Qt, QThread, QTimer
from PyQt5.QtWidgets import QApplication, QMessageBox

from securedrop_client import __version__, export, state
from securedrop_client import __version__, state
from securedrop_client.database import Database
from securedrop_client.db import make_session_maker
from securedrop_client.gui.main import Window
Expand Down Expand Up @@ -240,16 +240,11 @@ def start_app(args, qt_args) -> NoReturn: # type: ignore[no-untyped-def]
database = Database(session)
app_state = state.State(database)

with threads(4) as [
export_service_thread,
with threads(3) as [
sync_thread,
main_queue_thread,
file_download_queue_thread,
]:
export_service = export.getService()
export_service.moveToThread(export_service_thread)
export_service_thread.start()

gui = Window(app_state)

controller = Controller(
Expand Down
Loading

0 comments on commit ca304c8

Please sign in to comment.