diff options
| author | Bobby <[email protected]> | 2023-03-26 02:52:38 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-03-26 02:52:38 -0400 |
| commit | 8b9dea3fca9c7b91a4f3aa698696f28d3f3063e7 (patch) | |
| tree | 88755cc76ab73b3d461cda4700d86a4de78002e3 /ignis/views.py | |
| parent | a3490c079d317e3dfc82ddfacc94422d79d8ac40 (diff) | |
| download | thatcomputerscientist-8b9dea3fca9c7b91a4f3aa698696f28d3f3063e7.tar.xz thatcomputerscientist-8b9dea3fca9c7b91a4f3aa698696f28d3f3063e7.zip | |
Remove Screenshot wait time
Diffstat (limited to 'ignis/views.py')
| -rw-r--r-- | ignis/views.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ignis/views.py b/ignis/views.py index 30263877..cdfef4dd 100644 --- a/ignis/views.py +++ b/ignis/views.py @@ -13,7 +13,6 @@ from users.tokens import CaptchaTokenGenerator from django.http import HttpResponse from django.views.decorators.cache import never_cache from selenium import webdriver -import time # from .github import get_cover # Create your views here. @@ -178,8 +177,6 @@ def get_screenshot(request): # Wait until the page is loaded driver.get(url) - - time.sleep(5) screenshot = driver.get_screenshot_as_png() screenshot = Image.open(BytesIO(screenshot)) |
