Added version to info plugin example name

This commit is contained in:
squidfunk 2023-08-26 12:34:51 +02:00
parent d26a949175
commit db568b1e6b
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ class InfoPlugin(BasePlugin[InfoConfig]):
archive = BytesIO()
example = input("\nPlease name your bug report (2-4 words): ")
example, _ = os.path.splitext(example)
example = slugify(example, "-")
example = "-".join([present, slugify(example, "-")])
# Create self-contained example from project
files: list[str] = []

View File

@ -106,7 +106,7 @@ class InfoPlugin(BasePlugin[InfoConfig]):
archive = BytesIO()
example = input("\nPlease name your bug report (2-4 words): ")
example, _ = os.path.splitext(example)
example = slugify(example, "-")
example = "-".join([present, slugify(example, "-")])
# Create self-contained example from project
files: list[str] = []