This commit is contained in:
parent
ddb5f3716d
commit
586991bcf1
5
backup.sh
Normal file
5
backup.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -x
|
||||||
|
echo "Starting cleanup job for TIS Backup"
|
||||||
|
/usr/local/bin/python3.13 /opt/tisbackup/tisbackup.py backup
|
||||||
|
/usr/local/bin/python3.13 /opt/tisbackup/tisbackup.py cleanup
|
@ -33,9 +33,10 @@ from . import ini
|
|||||||
|
|
||||||
|
|
||||||
class RawConfigParser:
|
class RawConfigParser:
|
||||||
def __init__(self, defaults: Optional[Dict[str, str]] = None, dict_type: Union[Type[Dict], str] = dict):
|
def __init__(self, defaults=None, dict_type=dict):
|
||||||
if not isinstance(dict_type, dict):
|
if dict_type is not dict:
|
||||||
raise ValueError("Custom dict types not supported")
|
raise ValueError("Custom dict types not supported")
|
||||||
|
|
||||||
self.data = ini.INIConfig(defaults=defaults, optionxformsource=self)
|
self.data = ini.INIConfig(defaults=defaults, optionxformsource=self)
|
||||||
|
|
||||||
def optionxform(self, optionstr: str) -> str:
|
def optionxform(self, optionstr: str) -> str:
|
||||||
|
Loading…
Reference in New Issue
Block a user