local environment:
python: 3.6.7
gbdxtools: 0.17.0
import gbdxtools
ord = gbdxtools.Ordering()
ord.is_delivered('105001000E383200')
fails on:
Traceback (most recent call last):
File "<input>", line 1, in <module>
ord.is_delivered('105001000E383200')
File "/home/...../python3.6/site-packages/gbdxtools/ordering.py", line 128, in is_delivered
return state == 'delivered'
NameError: name 'state' is not defined
local environment: python: 3.6.7 gbdxtools: 0.17.0
fails on: