|
@ -82,7 +82,7 @@ class MUCBot(slixmpp.ClientXMPP): |
|
|
f.write(u.read()) # write image to file |
|
|
f.write(u.read()) # write image to file |
|
|
f.close() # close the output file |
|
|
f.close() # close the output file |
|
|
|
|
|
|
|
|
# Add image to log |
|
|
# Add the image to the log |
|
|
img = '<img class="image" src="{}">'.format(filename) |
|
|
img = '<img class="image" src="{}">'.format(filename) |
|
|
log = 'log.html' |
|
|
log = 'log.html' |
|
|
log_path = os.path.join(self.output, log) |
|
|
log_path = os.path.join(self.output, log) |
|
|