···11+diff --git a/mumbleBot.py b/mumbleBot.py
22+index 11bc480..7395f41 100644
33+--- a/mumbleBot.py
44++++ b/mumbleBot.py
55+@@ -188,11 +188,14 @@ class MumbleBot:
66+ th.start()
77+88+ last_startup_version = var.db.get("bot", "version", fallback=None)
99+- if not last_startup_version or version.parse(last_startup_version) < version.parse(self.version):
1010+- var.db.set("bot", "version", self.version)
1111+- if var.config.getboolean("bot", "auto_check_update"):
1212+- changelog = util.fetch_changelog()
1313+- self.send_channel_msg(tr("update_successful", version=self.version, changelog=changelog))
1414++ try:
1515++ if not last_startup_version or version.parse(last_startup_version) < version.parse(self.version):
1616++ var.db.set("bot", "version", self.version)
1717++ if var.config.getboolean("bot", "auto_check_update"):
1818++ changelog = util.fetch_changelog()
1919++ self.send_channel_msg(tr("update_successful", version=self.version, changelog=changelog))
2020++ except version.InvalidVersion:
2121++ pass
2222+2323+ # Set the CTRL+C shortcut
2424+ def ctrl_caught(self, signal, frame):
+6
pkgs/tools/audio/botamusique/default.nix
···11{ lib
22, stdenv
33, fetchFromGitHub
44+, fetchpatch
45, python3Packages
56, ffmpeg
67, makeWrapper
···5354 # We can't update the package at runtime with NixOS, so this patch makes
5455 # the !update command mention that
5556 ./no-runtime-update.patch
5757+5858+ # Fix passing of invalid "git" version into version.parse, which results
5959+ # in an InvalidVersion exception. The upstream fix is insufficient, so
6060+ # we carry the correct patch downstream for now.
6161+ ./catch-invalid-versions.patch
5662 ];
57635864 postPatch = ''