oops misnamed variable
This commit is contained in:
parent
ec778eff75
commit
22fa9bf78e
1 changed files with 4 additions and 4 deletions
|
@ -57,10 +57,10 @@ class PesterLog(object):
|
||||||
try:
|
try:
|
||||||
fp = codecs.open("%s/%s/%s/%s/%s.%s.txt" % (self.logpath, self.handle, handle, format, handle, time), encoding='utf-8', mode='a')
|
fp = codecs.open("%s/%s/%s/%s/%s.%s.txt" % (self.logpath, self.handle, handle, format, handle, time), encoding='utf-8', mode='a')
|
||||||
except IOError:
|
except IOError:
|
||||||
msg = QtGui.QMessageBox(self)
|
errmsg = QtGui.QMessageBox(self)
|
||||||
msg.setText("Warning: Pesterchum could not open the log file for %s!" % (handle))
|
errmsg.setText("Warning: Pesterchum could not open the log file for %s!" % (handle))
|
||||||
msg.setInformativeText("Your log for %s will not be saved because something went wrong. We suggest restarting Pesterchum. Sorry :(" % (handle))
|
errmsg.setInformativeText("Your log for %s will not be saved because something went wrong. We suggest restarting Pesterchum. Sorry :(" % (handle))
|
||||||
msg.show()
|
errmsg.show()
|
||||||
continue
|
continue
|
||||||
self.convos[handle][format] = fp
|
self.convos[handle][format] = fp
|
||||||
for (format, t) in modes.iteritems():
|
for (format, t) in modes.iteritems():
|
||||||
|
|
Loading…
Reference in a new issue