| Conditions | 2 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 29 | @staticmethod |
||
| 30 | def write_info_if_dumps_found(): |
||
| 31 | # To disable this info, uncomment the following line. |
||
| 32 | #return |
||
| 33 | files = glob.glob(os.path.normpath("logs/*.xml")) |
||
| 34 | if len(files) > 0: |
||
| 35 | print() |
||
| 36 | print("{}There are {} logs collected in the logs/ directory.{} Please consider uploading".format(ansi.YELLOW, len(files), ansi.RESET)) |
||
|
1 ignored issue
–
show
|
|||
| 37 | print("them to https://tclota.birth-online.de/ by running {}./upload_logs.py{}.".format(ansi.CYAN, ansi.RESET)) |
||
|
1 ignored issue
–
show
|
|||
| 38 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.