Issue #17 resolved

have problem with a null timestampunix32 and displaying path

Anonymous created an issue

File "/usr/lib/python2.5/site-packages/hachoir_core/field/field.py", line 172, in _getPath names[-1] = ''

I change the following line and it's ok: def _getPath(self): if not self._parent: return '/' names = [] field = self while field:# is not None: <<======HERE names.append(field._name) field = field._parent names[-1] = '' return '/'.join(reversed(names)) path = property(_getPath, doc="Full path of the field starting at root field")

Comments (2)

  1. Log in to comment