[fix] __init__
This commit is contained in:
@@ -127,8 +127,9 @@ class AddressFormatter(object):
|
|||||||
('country_name', 'country'),
|
('country_name', 'country'),
|
||||||
])
|
])
|
||||||
|
|
||||||
def __init__(self, scratch_dir='/tmp', splitter=', '):
|
def __init__(self, scratch_dir='/tmp', splitter=None):
|
||||||
self.splitter = splitter
|
if self.splitter is not None:
|
||||||
|
self.splitter = splitter
|
||||||
|
|
||||||
self.formatter_repo_path = os.path.join(scratch_dir, 'address-formatting')
|
self.formatter_repo_path = os.path.join(scratch_dir, 'address-formatting')
|
||||||
self.clone_repo()
|
self.clone_repo()
|
||||||
|
|||||||
Reference in New Issue
Block a user