mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
7c77e5d21c
commit
fe0ea435d2
@ -486,7 +486,7 @@ def update_stats():
|
||||
raise
|
||||
log = 'rotated-' + log
|
||||
os.rename(olog, log)
|
||||
subprocess.check_call(['nginx', '-s', 'reopen'])
|
||||
subprocess.check_call(['/usr/sbin/nginx', '-s', 'reopen'])
|
||||
atexit.register(os.remove, log)
|
||||
pat = re.compile(br'GET /(\d+)(?:-deprecated){0,1}\.zip')
|
||||
for line in open(log, 'rb'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user