Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
017425523e |
@@ -42,7 +42,7 @@ class Focus(Request):
|
|||||||
"""
|
"""
|
||||||
response = self.get('/excerpt')
|
response = self.get('/excerpt')
|
||||||
|
|
||||||
if response.status_code != 404:
|
if type(response) is not str and response.status_code != 404:
|
||||||
current_datetime = datetime.now().strftime('%d-%m-%Y_%H-%M')
|
current_datetime = datetime.now().strftime('%d-%m-%Y_%H-%M')
|
||||||
filename = f'Выписка_{self.inn}_{current_datetime}.pdf'
|
filename = f'Выписка_{self.inn}_{current_datetime}.pdf'
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="kontur_focus",
|
name="kontur_focus",
|
||||||
version="2026.6.3",
|
version="2026.7.14",
|
||||||
author="Ilya Sapunov",
|
author="Ilya Sapunov",
|
||||||
author_email="me@slrover.ru",
|
author_email="me@slrover.ru",
|
||||||
description="Библиотека-обертка для взаимодействия с REST API Контур.Фокус и Фокус.Комплаенс",
|
description="Библиотека-обертка для взаимодействия с REST API Контур.Фокус и Фокус.Комплаенс",
|
||||||
|
|||||||
Reference in New Issue
Block a user