mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 14:52:58 +02:00
...
This commit is contained in:
parent
7c77e5d21c
commit
fe0ea435d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue