kopia lustrzana https://github.com/piku/piku
Typo
rodzic
36e7c238be
commit
9cf8c59951
2
piku.py
2
piku.py
|
@ -230,7 +230,7 @@ def list_apps():
|
|||
def tail_logs(app):
|
||||
"""Tail an application log"""
|
||||
app = sanitize_app_name(app)
|
||||
logfile = join(LOG_ROOT, app)
|
||||
logfile = join(LOG_ROOT, "%s.log" % app)
|
||||
if exists(logfile):
|
||||
call('tail -F %s' % logfile, cwd=LOG_ROOT, shell=True)
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue