Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
rpteam
wantzel
Commits
9133a614
Commit
9133a614
authored
Sep 15, 2018
by
Mindiell
Browse files
Fix: erreur d'appel de constante pour la rp
parent
50d2ee7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
rp.py
View file @
9133a614
...
...
@@ -159,7 +159,7 @@ class Rp():
connection
.
execute
(
"DELETE FROM rpator WHERE score<1"
)
connection
.
commit
()
# Date of next cleaning
next_week
=
time
.
localtime
(
time
.
mktime
(
time
.
localtime
())
+
(
MASTER_CLEANING
*
86400
))
next_week
=
time
.
localtime
(
time
.
mktime
(
time
.
localtime
())
+
(
config
.
MASTER_CLEANING
*
86400
))
self
.
next_cleaning
=
time
.
strptime
(
"%s-%s-%s %s"
%
(
next_week
.
tm_year
,
next_week
.
tm_mon
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment