Browse Source

fix: remove call to _() function

tags/v0.10.0
Jérôme Deuchnord 3 years ago
parent
commit
9be8a7493d
4 changed files with 3 additions and 3 deletions
  1. +0
    -2
      kosmorrolib/__init__.py
  2. BIN
      kosmorrolib/__pycache__/dateutil.cpython-39.pyc
  3. +2
    -0
      kosmorrolib/__version__.py
  4. +1
    -1
      kosmorrolib/core.py

+ 0
- 2
kosmorrolib/__init__.py View File

@@ -1,6 +1,4 @@
#!/usr/bin/env python3

import __version__

from .ephemerides import get_ephemerides
from .events import get_events

BIN
kosmorrolib/__pycache__/dateutil.cpython-39.pyc View File


+ 2
- 0
kosmorrolib/__version__.py View File

@@ -1,3 +1,5 @@
#!/usr/bin/env python3

__title__ = "kosmorrolib"
__description__ = "A library that computes your ephemerides"
__url__ = "http://kosmorro.space"


+ 1
- 1
kosmorrolib/core.py View File

@@ -84,7 +84,7 @@ def get_date(date_arg: str) -> date:
return date.fromisoformat(date_arg)
except ValueError as error:
raise ValueError(
_("The date {date} is not valid: {error}").format(
"The date {date} is not valid: {error}".format(
date=date_arg, error=error.args[0]
)
) from error


Loading…
Cancel
Save