Skip to content

Commit

Permalink
middlename as '-'
Browse files Browse the repository at this point in the history
  • Loading branch information
Artyom committed Jul 18, 2018
1 parent 52d8022 commit b3667fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion onelya_sdk/aeroexpress/reservation/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, document_number: str, document_type: DocumentType, first_name
self.last_name = last_name
self.sex = sex
self.index = index
self.middle_name = middle_name
self.middle_name = middle_name if middle_name is not None else '-'
self.document_valid_till = document_valid_till
self.citizenship_code = citizenship_code
self.birth_place = birth_place
Expand Down
2 changes: 1 addition & 1 deletion onelya_sdk/railway/reservation/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, document_number: str, document_type: DocumentType, first_name
self.last_name = last_name
self.sex = sex
self.index = index
self.middle_name = middle_name
self.middle_name = middle_name if middle_name is not None else '-'
self.document_valid_till = document_valid_till
self.citizenship_code = citizenship_code
self.birth_place = birth_place
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

__version__ = '1.3.1'
__version__ = '1.3.2'

setup(
version=__version__,
Expand Down

0 comments on commit b3667fd

Please sign in to comment.