From 1292ca2dd69c5883d673962ef0e7c2064df42a37 Mon Sep 17 00:00:00 2001 From: Kelvin Jayanoris Date: Thu, 21 Jun 2018 22:25:34 +0300 Subject: [PATCH] bugfix --- setup.py | 2 +- small_small_hr/forms.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 61aa2f0..ebe5c90 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='small-small-hr', - version='0.0.4', + version='0.0.5', description='Minimal human resource management app for Django', license='MIT', author='Kelvin Jayanoris', diff --git a/small_small_hr/forms.py b/small_small_hr/forms.py index 21916ab..938b634 100644 --- a/small_small_hr/forms.py +++ b/small_small_hr/forms.py @@ -539,7 +539,6 @@ def save(self, commit=True): # pylint: disable=unused-argument staffprofile = super().save() emergency_phone = self.cleaned_data.get('emergency_contact_number') - emergency_phone = emergency_phone.as_e164 json_data = { 'id_number': self.cleaned_data.get('id_number'),