Просмотр исходного кода

Merge pull request #58 from Deuchnord/fix-timezone-pdf

fix: remove the "timezone" word in the PDF output’s introduction
tags/v0.6.1
Jérôme Deuchnord 4 лет назад
committed by GitHub
Родитель
Сommit
8c1632b6d2
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      kosmorrolib/dumper.py

+ 1
- 1
kosmorrolib/dumper.py Просмотреть файл

@@ -263,7 +263,7 @@ class _LatexDumper(Dumper):
"It aims to help you to prepare your observation session. "
"All the hours are given in {timezone}.").format(
date=self.get_date_as_string(),
timezone='UTC+%d timezone' % self.timezone if self.timezone != 0 else 'UTC'
timezone='UTC+%d' % self.timezone if self.timezone != 0 else 'UTC'
),
_("Don't forget to check the weather forecast before you go out with your material.")
])) \


Загрузка…
Отмена
Сохранить