This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author maakvol
Recipients docs@python, maakvol, matrixise, xtreak
Date 2019-04-18.15:39:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555601940.43.0.26679751316.issue36657@roundup.psfhosted.org>
In-reply-to
Content
FLAGS.train_dir has a boolean value which is checking true or false  
and i also have same issue import os
>>> os.path.join(True, 'best_checkpoint')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/Cellar/python@2/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 70, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'bool' object has no attribute 'endswith'

can you give me a solution or idea how to solve issue
History
Date User Action Args
2019-04-18 15:39:00maakvolsetrecipients: + maakvol, docs@python, matrixise, xtreak
2019-04-18 15:39:00maakvolsetmessageid: <1555601940.43.0.26679751316.issue36657@roundup.psfhosted.org>
2019-04-18 15:39:00maakvollinkissue36657 messages
2019-04-18 15:39:00maakvolcreate