Révision 695dcff8 modules/utilities.py
b/modules/utilities.py | ||
---|---|---|
39 | 39 |
if bak_num > 0: |
40 | 40 |
os.rename(file_name, new_name) |
41 | 41 |
logger.warning(f"'{file_name}' already present. Backed it up to " |
42 |
f"{new_name}") |
|
42 |
f"{new_name}.")
|
|
43 | 43 |
|
44 | 44 |
|
45 | 45 |
def try_command(command, expct_error_types: list, *args, **kwargs): |
Formats disponibles : Unified diff