oops misnamed variable

This commit is contained in:
Stephen Dranger 2011-12-02 02:36:16 -06:00
parent ec778eff75
commit 22fa9bf78e

View file

@ -57,10 +57,10 @@ class PesterLog(object):
try:
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:
msg = QtGui.QMessageBox(self)
msg.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))
msg.show()
errmsg = QtGui.QMessageBox(self)
errmsg.setText("Warning: Pesterchum could not open the log file for %s!" % (handle))
errmsg.setInformativeText("Your log for %s will not be saved because something went wrong. We suggest restarting Pesterchum. Sorry :(" % (handle))
errmsg.show()
continue
self.convos[handle][format] = fp
for (format, t) in modes.iteritems():