diff options
| author | Scott Gasch <[email protected]> | 2021-08-05 14:56:34 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2021-08-05 14:56:34 -0700 |
| commit | b843703134a166013518c707fa5a77373f1bf0bf (patch) | |
| tree | edd85dee1f0ca34d7720ff8dc44b7a1b1bcc85a0 /logging_utils.py | |
| parent | a08ca309cb5bd7971210a9247a38c9bbe376a6e6 (diff) | |
Adds profanity filter, fixes bugs.
Diffstat (limited to 'logging_utils.py')
| -rw-r--r-- | logging_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logging_utils.py b/logging_utils.py index 0c7d193..a0131b1 100644 --- a/logging_utils.py +++ b/logging_utils.py @@ -269,7 +269,7 @@ class OutputMultiplexer(object): open(filename, 'wb', buffering=0) for filename in filenames ] else: - if self.destination_bitv & OutputMultiplexer.FILENAMES: + if destination_bitv & OutputMultiplexer.FILENAMES: raise ValueError( "Filenames argument is required if bitv & FILENAMES" ) @@ -278,7 +278,7 @@ class OutputMultiplexer(object): if handles is not None: self.h = [handle for handle in handles] else: - if self.destination_bitv & OutputMultiplexer.FILEHANDLES: + if destination_bitv & OutputMultiplexer.Destination.FILEHANDLES: raise ValueError( "Handle argument is required if bitv & FILEHANDLES" ) |
