diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-01-13 16:26:33 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-01-13 16:26:33 +0100 |
| commit | b59cba77c3769f193201b735341adc5aff05ac1a (patch) | |
| tree | 2edd2f72bd0eb3745427eea5f40b841d4cbdd11f /tidal_dl_ng/helper/format.py | |
| parent | dd8833add888412ff192d9a61466c8c16c3939e2 (diff) | |
| download | tidal-dl-ng-b59cba77c3769f193201b735341adc5aff05ac1a.tar.gz | |
♻️ Refactoring of download.py ongoing.
Diffstat (limited to 'tidal_dl_ng/helper/format.py')
| -rw-r--r-- | tidal_dl_ng/helper/format.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tidal_dl_ng/helper/format.py b/tidal_dl_ng/helper/format.py deleted file mode 100644 index f71b28d..0000000 --- a/tidal_dl_ng/helper/format.py +++ /dev/null @@ -1,16 +0,0 @@ -def is_xml(value: str) -> bool: - result = False - - if value and value.startswith("<?xml"): - result = True - - return result - - -def is_json(value: str) -> bool: - result = False - - if value and value.startswith("{"): - result = True - - return result |
