adds a minor delay before clearing dirty

in login()

fixes #8
This commit is contained in:
onyx-and-iris 2023-10-05 09:50:21 +01:00
parent 23ed41ed4a
commit a0eb56a575
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "voicemeeter-api" name = "voicemeeter-api"
version = "2.4.11" version = "2.4.12"
description = "A Python wrapper for the Voiceemeter API" description = "A Python wrapper for the Voiceemeter API"
authors = ["onyx-and-iris <code@onyxandiris.online>"] authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT" license = "MIT"

View File

@ -75,6 +75,7 @@ class Remote(CBindings):
"Voicemeeter engine running but GUI not launched. Launching the GUI now." "Voicemeeter engine running but GUI not launched. Launching the GUI now."
) )
self.run_voicemeeter(self.kind.name) self.run_voicemeeter(self.kind.name)
time.sleep(0.1)
self.logger.info( self.logger.info(
f"{type(self).__name__}: Successfully logged into {self} version {self.version}" f"{type(self).__name__}: Successfully logged into {self} version {self.version}"
) )