mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 00:22:34 +00:00
Added some stuff, deleted some stuff, modified some stuff
This commit is contained in:
1 parent
8454515e67
commit
d76dd9c674
16 files changed
+199
-30
No files matched your search
@@ -11,7 +11,7 @@ userData = {} #hash keyed by "user" that contains an array of timestamps
|
||||
#we only care about recent chats, let's say for the past couple weeks
|
||||
oneWeek = 7 * 24 * 60 * 60
|
||||
fiveMinutes = 5 * 60
|
||||
timeCutoff = calendar.timegm(time.gmtime()) - (2 * oneWeek)
|
||||
timeCutoff = calendar.timegm(time.gmtime()) - (5 * oneWeek)
|
||||
|
||||
with open(logfile, "r") as log:
|
||||
for line in log:
|
||||
|
||||
Reference in new issue
Block a user