mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Fix flake8-docstrings D401 First line should be in imperative mood
This commit is contained in:
parent
6f6c9bcc9d
commit
10b2eab3c5
5 changed files with 9 additions and 9 deletions
|
@ -127,7 +127,7 @@ class NTMRotatingLogHandler(object):
|
|||
|
||||
def _log_file_name(self, i):
|
||||
"""
|
||||
Returns a numbered log file name depending on i.
|
||||
Return a numbered log file name depending on i.
|
||||
|
||||
If i==0 it just uses logName, if not it appends it to the extension
|
||||
e.g. (blah.log.3 for i == 3)
|
||||
|
@ -138,7 +138,7 @@ class NTMRotatingLogHandler(object):
|
|||
|
||||
def _num_logs(self):
|
||||
"""
|
||||
Scans the log folder and figures out how many log files there are already on disk.
|
||||
Scan the log folder and figure out how many log files there are already on disk.
|
||||
|
||||
Returns: The number of the last used file (eg. mylog.log.3 would return 3). If there are no logs it returns -1
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue