fix build-related issues

This commit is contained in:
2026-02-14 19:43:05 -05:00
parent b87ca52ffe
commit 7940bf4dda
3 changed files with 10 additions and 1 deletions

View File

@@ -2,6 +2,11 @@ import discord
import os
import argparse
from pathlib import Path
import certifi
# When running as PyInstaller bundle, point SSL to bundled certs
if getattr(sys, 'frozen', False):
os.environ['SSL_CERT_FILE'] = certifi.where()
parser = argparse.ArgumentParser(
prog="Scrapist",