Fixed excerpt response
This commit is contained in:
@@ -42,7 +42,7 @@ class Focus(Request):
|
||||
"""
|
||||
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')
|
||||
filename = f'Выписка_{self.inn}_{current_datetime}.pdf'
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name="kontur_focus",
|
||||
version="2026.6.3",
|
||||
version="2026.7.14",
|
||||
author="Ilya Sapunov",
|
||||
author_email="me@slrover.ru",
|
||||
description="Библиотека-обертка для взаимодействия с REST API Контур.Фокус и Фокус.Комплаенс",
|
||||
|
||||
Reference in New Issue
Block a user