Merge pull request #16754 from deepeshgarg007/state_code
fix: State code issue fix
This commit is contained in:
commit
e5ff28a92c
@ -300,6 +300,9 @@ def get_progressive_name_and_number(doc):
|
||||
return progressive_name, progressive_number
|
||||
|
||||
def set_state_code(doc, method):
|
||||
if not doc.get('state'):
|
||||
return
|
||||
|
||||
if not (hasattr(doc, "state_code") and doc.country in ["Italy", "Italia", "Italian Republic", "Repubblica Italiana"]):
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user