소스 검색

fix: remove call to _() function

tags/v0.10.0
Jérôme Deuchnord 3 년 전
부모
커밋
9be8a7493d
4개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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 파일 보기

@@ -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 파일 보기


+ 2
- 0
kosmorrolib/__version__.py 파일 보기

@@ -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 파일 보기

@@ -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


불러오는 중...
취소
저장