Repository navigation
Fix SyntaxError in main.py and add missing cryptography dependency - #1
Open
theyonecodes wants to merge 1 commit into
Open
theyonecodes wants to merge 1 commit into
theyonecodes wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Application Intent
Universal Browser Backup is a PowerShell + Python tool for backing up and restoring browser profiles across Chromium and Gecko browsers on Windows 10/11. It provides both a PowerShell/WPF GUI and a Python/PySide6 GUI with features including auto-detection of 20+ browsers, multi-profile backup/restore, AES-256-GCM encryption, SHA-256 manifest verification, scheduled backups, rollback protection, and Jev Router AI triage integration.
Summary
This PR fixes a build-breaking SyntaxError in main.py caused by malformed try/except blocks in the Jev Router triage methods. The threading logic was also corrected to properly run workers in background threads. Added cryptography to requirements.txt for AES-256-GCM encryption support.
Build Verification
FAILED(Python 3 ·python3 -m compileall -q .)PASSED(136ms · Python syntax and bytecode compilation succeeded.)Findings Addressed
main.py): Restructure both methods: move threading.Thread call outside worker function, add proper except blocks, remove direct worker() call.requirements.txt): Add cryptography>=41.0.0 to requirements.txt