-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- #20 self.noteEditor - #16, #15 hide empty spools - #14 sort remaining weight in table - #11 show remaining weight in spool selection - #10 changed color picker behaviour - Export of FilamentManager/SpoolManager and Import of CSV -
- Loading branch information
Showing
21 changed files
with
1,364 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
|
||
|
||
from logging import StreamHandler | ||
|
||
class WrappedLoggingHandler(StreamHandler): | ||
|
||
def __init__(self, wrappedLogger): | ||
StreamHandler.__init__(self) | ||
self.wrappedLogger = wrappedLogger | ||
class WrappedLoggingHandler(StreamHandler): | ||
|
||
def __init__(self, wrappedLogger): | ||
StreamHandler.__init__(self) | ||
self.wrappedLogger = wrappedLogger | ||
|
||
def emit(self, record): | ||
def emit(self, record): | ||
msg = self.format(record) | ||
self.wrappedLogger.debug(msg) # this is it!!!! | ||
# self.wrappedLogger.handle(record) | ||
self.wrappedLogger.debug(msg) # this is it!!!! | ||
# self.wrappedLogger.handle(record) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.