diff --git a/markovpack/commands/markov.py b/markovpack/commands/markov.py index 359acf6a..5b7d384d 100644 --- a/markovpack/commands/markov.py +++ b/markovpack/commands/markov.py @@ -38,7 +38,7 @@ class MarkovCommand(Command): for mn in self._texts: models.append(f"- [c]{mn}[/c]\n") raise InvalidInputError("Il modello richiesto non esiste." - f"Modelli disponibili:\n{models}") + f"Modelli disponibili:\n{''.join(models)}") if sentence is None: continue if len(sentence.split()) < self.config["Markov"]["min_words"]: diff --git a/markovpack/version.py b/markovpack/version.py index f9ec8809..1d85b4c2 100644 --- a/markovpack/version.py +++ b/markovpack/version.py @@ -1 +1 @@ -semantic = "0.3.1" +semantic = "0.3.2" diff --git a/publish.bat b/publish.bat new file mode 100644 index 00000000..734232c2 --- /dev/null +++ b/publish.bat @@ -0,0 +1,2 @@ +git commit -am "publish: %1" +git push && poetry build && poetry publish && hub release create "%1" -m "Markovpack %1" diff --git a/pyproject.toml b/pyproject.toml index 1fe3cbdf..4f403d2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,9 @@ # Remember to run `poetry update` after you edit this file! [tool.poetry] - name = "markov" + name = "markovpack" description = "A Royalnet pack to have fun with Markovify." - version = "0.3.1" + version = "0.3.2" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" homepage = "https://github.com/Steffo99/markovpack"