Skip to content

Commit

Permalink
v1.5.1
Browse files Browse the repository at this point in the history
version 1.5.1
  • Loading branch information
thusser authored Sep 18, 2023
2 parents 44f0365 + 55f5d94 commit 5543737
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyobs/events/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def from_dict(obj_dict: Dict[str, Any]) -> Optional[Event]:
obj.timestamp = obj_dict["timestamp"] if "timestamp" in obj_dict else 0
return obj

except ValueError:
log.warning("Could not create event %s." % obj_dict["type"])
except ValueError as e:
log.warning(f"Could not create event {obj_dict['type']}: {e}")
return None


Expand Down
2 changes: 1 addition & 1 deletion pyobs/modules/robotic/mastermind.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ async def _run_thread(self) -> None:
# something went wrong
log.warning("Task %s failed.", self._task.name)
self._task = None
return
continue

# send event
await self.comm.send_event(TaskFinishedEvent(name=self._task.name, id=self._task.id))
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "pyobs-core"
packages = [{ include = "pyobs" }]
version = "1.5.0"
version = "1.5.1"
description = "robotic telescope software"
authors = ["Tim-Oliver Husser <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 5543737

Please sign in to comment.