Skip to content

Commit 2832fef

Browse files
Update Snatch.py
1 parent 70c279e commit 2832fef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Snatch.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ def _run_background_init(config: dict) -> None:
6363
global _ffmpeg_validated, _background_init_complete, _config_updates_available, _update_messages
6464

6565
try:
66+
# Initialize _update_messages to an empty list if we're going to use it
67+
global _ffmpeg_validated, _background_init_complete, _config_updates_available, _update_messages
6668
# Check if FFmpeg version is outdated by comparing version number
6769
if config.get('ffmpeg_location') and validate_ffmpeg_path(config['ffmpeg_location']):
6870
_ffmpeg_validated = True

0 commit comments

Comments
 (0)