(self, text:str)
| 124 | |
| 125 | |
| 126 | def _is_base64_valid(self, text:str)->bool: |
| 127 | if text is None or text.isdigit() or text == '': |
| 128 | return False, None |
| 129 | else: |
| 130 | for character in text: |
| 131 | if character in self._invalid_b64_chars: |
| 132 | return False, None |
| 133 | |
| 134 | return True, None |
| 135 | |
| 136 | def save_file(self, content,format:str, filename=None)->str: |
| 137 | if content: |