-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
question/docs ‽Documentation clarification candidateDocumentation clarification candidate
Description
Setting the disabled flag to True seems to get rid of the "total" property. Why is that?
Apart from #323, everything works fine when disable=False.
self.iterator = tqdm(folder.Items.Restrict(restriction),unit="emails", desc=folder.FolderPath, position=self.tqdmpos, **disable=True**)
Exception in thread Thread-7:
Traceback (most recent call last):
File "P:\TS Projects\Python\python3\Lib\threading.py", line 911, in _bootstrap_inner
self.run()
File "P:\TS Projects\Python\python3\Lib\threading.py", line 859, in run
self._target(*self._args, **self._kwargs)
File "P:\TS Projects\Document Classification\dataExtractor.py", line 111, in startExtractionThread
extractor.run("emails", inbox, outlook)
File "P:\TS Projects\Document Classification\dataExtractor.py", line 90, in run
self.extract_data(mainfolder, restriction, db, collection)
File "P:\TS Projects\Document Classification\dataExtractor.py", line 79, in extract_data
walk_folders(folder)
File "P:\TS Projects\Document Classification\dataExtractor.py", line 40, in walk_folders
self.progressbar.max = self.iterator.total
AttributeError: 'tqdm' object has no attribute 'total'
Metadata
Metadata
Assignees
Labels
question/docs ‽Documentation clarification candidateDocumentation clarification candidate