Fix env command

This commit is contained in:
Ivan Habunek 2024-03-26 10:23:35 +01:00
parent 52a7191d1f
commit cf1693b500
No known key found for this signature in database
GPG Key ID: F5F0623FF5EBCB3D
2 changed files with 2 additions and 11 deletions

View File

@ -281,9 +281,9 @@ def download(
@cli.command()
def env():
"""Print environment information for inclusion in bug reports."""
click.echo(f"toot {__version__}")
click.echo(f"twitch-dl {__version__}")
click.echo(f"Python {sys.version}")
click.echo(platform.platform())
click.echo(f"Platform: {platform.platform()}")
@cli.command()

View File

@ -1,9 +0,0 @@
import platform
import sys
import twitchdl
def env(args):
print("twitch-dl", twitchdl.__version__)
print("Platform:", platform.platform())
print("Python", sys.version)