Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4105bfc

Browse files
hide unnecessary ip
1 parent d1f5d48 commit 4105bfc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎web/server.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ def get_black_list(self):
324324
for key in keys:
325325
count = r.get(key)
326326
ttl = r.ttl(key)
327-
result[key] = dict(count=count, ttl=ttl)
327+
if ttl != -1:
328+
result[key] = dict(count=count, ttl=ttl)
328329
return result
329330

330331
@gen.coroutine

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /