May-23-2018, 06:03 PM
(May-23-2018, 02:28 PM)tjnichols Wrote: AttributeError: 'GetCompletions' object has no attribute 'text'
That error tells you everything you need to know.
(May-23-2018, 02:28 PM)tjnichols Wrote:What do you thinkself.textpath = self.homepath / 'text' self.text.mkdir(exist_ok=True)
self.text
is? The answer is nothing, since you never set it. And because it's nothing, it definitely doesn't have a .mkdir
method. The error is letting you know that you're trying to use a thing that doesn't exist. So the solution depends entirely on what you're expecting to happen.