fix: multiprocessing problems

This commit is contained in:
cwilvx
2025-05-11 14:10:28 +03:00
parent 29a916464c
commit c14ec4ba4b
6 changed files with 42 additions and 12 deletions
+1 -4
View File
@@ -1,9 +1,8 @@
import math
import os
import time
import random
import urllib
import requests
import multiprocessing
from io import BytesIO
from pathlib import Path
@@ -29,8 +28,6 @@ LARGE_ENOUGH_NUMBER = 100
PngImagePlugin.MAX_TEXT_CHUNK = LARGE_ENOUGH_NUMBER * (1024**2)
# https://stackoverflow.com/a/61466412
import random
def get_artist_image_link(artist: str):
"""