diff --git a/login-log.py b/login-log.py index fcd7a43..4da5a39 100644 --- a/login-log.py +++ b/login-log.py @@ -68,8 +68,8 @@ with Prepender(logfile) as f: # Must write individual lines in reverse order f.write_line(current_day+' - '+current_time+' - '+client_hostname) +# Or, use write_lines instead - that maintains order. # with Prepender(logfile) as f: - # Or, use write_lines instead - that maintains order. # f.write_lines( # ['This will be line 1', # 'This will be line 2', diff --git a/logoff-log.py b/logoff-log.py index 6b4a32b..4a800a8 100644 --- a/logoff-log.py +++ b/logoff-log.py @@ -60,8 +60,8 @@ with Prepender(logfile) as f: # Must write individual lines in reverse order f.write_line(current_day+' - '+current_time) +# Or, use write_lines instead - that maintains order. # with Prepender(logfile) as f: - # Or, use write_lines instead - that maintains order. # f.write_lines( # ['This will be line 1', # 'This will be line 2',