freeseek / getmyancestors

33 stars 45 forks source link

TypeError: must be str, not NoneType #18

Open lukehutch opened 6 years ago

lukehutch commented 6 years ago

Before saving the file, getmyancestor throws the following exception:

Traceback (most recent call last):
  File "getmyancestors.py", line 943, in <module>
    tree.print(args.o)
  File "getmyancestors.py", line 827, in print
    self.indi[fid].print(file)
  File "getmyancestors.py", line 600, in print
    file.write('1 OCCU ' + o.value + '\n')
TypeError: must be str, not NoneType

May have been caused by a 204 return code from FamilyTree.