Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Roblox-Thot committed Apr 7, 2024
1 parent d1d8d9f commit e3097fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions OneUploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,18 @@ def run(thread_num:int, creator:DecalClass, barrier:threading.Barrier, buffer:io

CREATOR = DecalClass(ROBLOSECURITY)
threads_to_make = range(60)
intensity=50
barrier = threading.Barrier(len(threads_to_make)+1)
threads = []
print('creating images/threads')

for a in threads_to_make:
#region making img hashes
print(f'({a}/{len(threads_to_make)})')
rgba = img.convert("RGBA")
data = rgba.getdata()

newData = []
intensity=50

match METHOD.lower():
case "alpha":
newData = [
Expand Down Expand Up @@ -150,14 +150,14 @@ def run(thread_num:int, creator:DecalClass, barrier:threading.Barrier, buffer:io
thread = threading.Thread(target=DaThreads.run, args=(a,CREATOR,barrier,buffer,))
thread.start()
threads.append(thread)

barrier.wait()
print('uploading')

for thread in threads:
thread.join()
print('upload finished')

try:
CREATOR.delete_key()
print('API key has now ben deleted')
Expand Down

0 comments on commit e3097fc

Please sign in to comment.