Bug fix: Still accept messages in memos from non-Pesterchum users
This commit is contained in:
parent
5400112c85
commit
8af1b3873f
2 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,7 @@ CHANGELOG
|
||||||
* Rearrange options menu, make tabbed - Kiooeht [evacipatedBox]
|
* Rearrange options menu, make tabbed - Kiooeht [evacipatedBox]
|
||||||
* Rearrange memos window for readability - Kiooeht [evacipatedBox]
|
* Rearrange memos window for readability - Kiooeht [evacipatedBox]
|
||||||
* Give voice to memo users - Kiooeht [evacipatedBox]
|
* Give voice to memo users - Kiooeht [evacipatedBox]
|
||||||
|
* Theme checking - Kiooeht [evacipatedBox]
|
||||||
* Bug fixes
|
* Bug fixes
|
||||||
* Logviewer updates - Kiooeht [evacipatedBox]
|
* Logviewer updates - Kiooeht [evacipatedBox]
|
||||||
* Memo scrollbar thing - Kiooeht [evacipatedBox]
|
* Memo scrollbar thing - Kiooeht [evacipatedBox]
|
||||||
|
@ -31,6 +32,7 @@ CHANGELOG
|
||||||
* Stay in memos on profile switch - Kiooeht [evacipatedBox]
|
* Stay in memos on profile switch - Kiooeht [evacipatedBox]
|
||||||
* Auto rejoin memos on reconnect - Kiooeht [evacipatedBox]
|
* Auto rejoin memos on reconnect - Kiooeht [evacipatedBox]
|
||||||
* De-Op in memos correctly - Kiooeht [evacipatedBox]
|
* De-Op in memos correctly - Kiooeht [evacipatedBox]
|
||||||
|
* Don't blow up if someone's not using Pesterchum in a memo - Kiooeht [evacipatedBox]
|
||||||
|
|
||||||
### 3.14.1
|
### 3.14.1
|
||||||
* Pesterchum 3.14 - illuminatedwax [ghostDunk]
|
* Pesterchum 3.14 - illuminatedwax [ghostDunk]
|
||||||
|
|
2
memos.py
2
memos.py
|
@ -163,6 +163,8 @@ class TimeTracker(list):
|
||||||
timed = self.getTime()
|
timed = self.getTime()
|
||||||
return self.getGrammarTime(timed)
|
return self.getGrammarTime(timed)
|
||||||
def getGrammarTime(self, timed):
|
def getGrammarTime(self, timed):
|
||||||
|
if not timed:
|
||||||
|
timed = timedelta(0)
|
||||||
mytime = timedelta(0)
|
mytime = timedelta(0)
|
||||||
(temporal, pcf, when) = pcfGrammar(timed - mytime)
|
(temporal, pcf, when) = pcfGrammar(timed - mytime)
|
||||||
if timed == mytime:
|
if timed == mytime:
|
||||||
|
|
Loading…
Reference in a new issue