Skip to content

Commit

Permalink
Bug fix on default time
Browse files Browse the repository at this point in the history
  • Loading branch information
MetinSa committed Aug 14, 2021
1 parent f680bed commit f9da748
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 = "zodipy"
homepage = "https://github.com/MetinSa/zodipy"
version = "0.1.1"
version = "0.1.2"
description = "Zodipy is a python tool that simulates the instantaneous Zodiacal emission as seen from an observer."
authors = ["Metin San <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion zodipy/zodi.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(
"""

if observation_times is None:
observation_times = [datetime.now().date]
observation_times = [datetime.now().date()]
elif not isinstance(observation_times, Iterable):
observation_times = [observation_times]

Expand Down

0 comments on commit f9da748

Please sign in to comment.