[issue36657] AttributeError
maak
report at bugs.python.org
Thu Apr 18 11:39:00 EDT 2019
maak <sanaraba at gmail.com> added the comment:
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 at 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
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36657>
_______________________________________
More information about the Python-bugs-list
mailing list