Skip to content

Commit

Permalink
[Screenshot] fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Sep 23, 2024
1 parent 88d1d1d commit 37f3943
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion screenshot/common/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_service(self) -> Service:
return Service(
executable_path=str(self.cog.manager.driver_location),
service_args=["--log", "debug"],
log_output=str(self.cog.manager.logs_directory / "gecko.log"),
log_output=str(self.cog.manager.logs_directory),
)

def get_options(self) -> Options:
Expand Down
1 change: 0 additions & 1 deletion screenshot/common/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ async def get_driver_download_url(self) -> str:
name: str = "{}-{}-{}.".format("geckodriver", version, self.get_os())
output_dict = [asset for asset in assets if asset["name"].startswith(name)]
url: str = output_dict[0]["browser_download_url"]
log.debug("Downloading driver - %s" % url)
return url

async def get_firefox_archive(self) -> Tuple[str, bytes]:
Expand Down

0 comments on commit 37f3943

Please sign in to comment.