fix build-related issues
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user