Fix a small bug in log helper
[pyi2ncommon] / src / log_helpers.py
index e416bea..e85db0b 100644 (file)
@@ -235,7 +235,7 @@ class I2nLogger:
 
         # create new handlers and formatter
         if streams is None:
-            stream = []
+            streams = []
         elif not isinstance(streams, (list, tuple)):
             streams = (streams, )
         for stream in streams: