mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
Fix env command
This commit is contained in:
parent
52a7191d1f
commit
cf1693b500
@ -281,9 +281,9 @@ def download(
|
|||||||
@cli.command()
|
@cli.command()
|
||||||
def env():
|
def env():
|
||||||
"""Print environment information for inclusion in bug reports."""
|
"""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(f"Python {sys.version}")
|
||||||
click.echo(platform.platform())
|
click.echo(f"Platform: {platform.platform()}")
|
||||||
|
|
||||||
|
|
||||||
@cli.command()
|
@cli.command()
|
||||||
|
@ -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)
|
|
Loading…
Reference in New Issue
Block a user