Commit 682ab415 authored by Andrei-Claudiu Roibu's avatar Andrei-Claudiu Roibu 🖥
Browse files

added if statement for if labels are None

parent e5b9c984
......@@ -71,7 +71,10 @@ class LogWriter():
self.current_iteration = 1
self.labels = self.labels_generator(labels)
if labels is not None:
self.labels = self.labels_generator(labels)
self.logger = logging.getLogger()
file_handler = logging.FileHandler(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment