Skip to content

Commit

Permalink
Fix for carbon (UsergeTeam#280)
Browse files Browse the repository at this point in the history
* Fix for carbon

* πŸ˜…
  • Loading branch information
Krishna-Singhal authored Mar 3, 2021
1 parent 6b34edd commit 949e2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/plugins/fun/carbon.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async def carbon_(message: Message):
await message.edit("`Processing... 60%`")
driver.find_element_by_xpath("//button[contains(text(),'4x')]").click()
await asyncio.sleep(1)
driver.find_element_by_xpath("//button[contains(text(),'PNG')]").click()
driver.find_element_by_id("export-png").click()
await message.edit("`Processing... 80%`")
while not os.path.isfile(carbon_path):
await asyncio.sleep(0.5)
Expand Down

0 comments on commit 949e2e1

Please sign in to comment.