Skip to content

Commit

Permalink
Remove unnecessary error printed in logs
Browse files Browse the repository at this point in the history
Change from logging.error to debug.
Reported by - Shaan Subbaiah <shaansubbaiah.cs18@bmsce.ac.in>
-- 1593854307.251860 ERROR root: tempfile is /home/user/.sugar/default/org.laptop.AbiWordActivity/instance/tmpmfc6g_tc.png
  • Loading branch information
Saumya-Mishra9129 authored and chimosky committed Jul 15, 2020
1 parent 2ed827c commit dd854c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolbar.py
Expand Up @@ -153,7 +153,7 @@ def __paste_button_cb(self, button):
os.makedirs(temp_path)
fd, file_path = tempfile.mkstemp(dir=temp_path, suffix='.png')
os.close(fd)
logging.error('tempfile is %s' % file_path)
logging.debug('tempfile is %s' % file_path)
success, data = pixbuf_sel.save_to_bufferv('png', [], [])
if success:
px_file = open(file_path, 'wb')
Expand Down

0 comments on commit dd854c0

Please sign in to comment.