projects
/
kiosk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix logging and remove cruft.
[kiosk.git]
/
file_writer.py
diff --git
a/file_writer.py
b/file_writer.py
index 97f3e4b56a80b8c2912b1378edec1a2735589845..08be646da19addde1ece563932adef2e521f9043 100644
(file)
--- a/
file_writer.py
+++ b/
file_writer.py
@@
-7,7
+7,7
@@
from uuid import uuid4
import kiosk_constants
import kiosk_constants
-logger = logging.getLogger(__
fil
e__)
+logger = logging.getLogger(__
nam
e__)
class file_writer:
class file_writer:
@@
-20,7
+20,7
@@
class file_writer:
self.xforms = [file_writer.remove_tricky_unicode]
self.xforms.extend(transformations)
self.f = None
self.xforms = [file_writer.remove_tricky_unicode]
self.xforms.extend(transformations)
self.f = None
- logger.info("Writing {self.temp_filename}...")
+ logger.info(
f
"Writing {self.temp_filename}...")
@staticmethod
def remove_tricky_unicode(x: str) -> str:
@staticmethod
def remove_tricky_unicode(x: str) -> str: