Skip to content

Commit

Permalink
manual package await upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Mar 1, 2025
1 parent 5cfcdf8 commit fe2b1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manualpackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def package(meta):
with open(poster_img, 'wb') as f:
shutil.copyfileobj(r.raw, f)
if not meta.get('skip_imghost_upload', False):
poster, dummy = upload_screens(meta, 1, 1, 0, 1, [poster_img], {})
poster, dummy = await upload_screens(meta, 1, 1, 0, 1, [poster_img], {})
poster = poster[0]
generic.write(f"TMDB Poster: {poster.get('raw_url', poster.get('img_url'))}\n")
meta['rehosted_poster'] = poster.get('raw_url', poster.get('img_url'))
Expand Down

0 comments on commit fe2b1d3

Please sign in to comment.