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:
|
||||
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():
|
||||
|
|
Loading…
Reference in a new issue