Skip to content

Commit

Permalink
Update data_source.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HibiKier authored May 29, 2022
1 parent ee45d02 commit 38501ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions basic_plugins/plugin_shop/data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ async def show_plugin_repo() -> Union[int, str]:
w = w if w > img.w else img.w
h += img.h + line_height
image_list.append(img)
A = BuildImage(w + 100, h + 100, color="#f9f6f2")
cur_h = 50
A = BuildImage(w + 50, h + 50, color="#f9f6f2")
cur_h = 25
for img in image_list:
await A.apaste(img, (50, cur_h))
await A.apaste(img, (25, cur_h))
cur_h += img.h + line_height
return A.pic2bs4()

Expand Down

0 comments on commit 38501ce

Please sign in to comment.