forked from nzbget/FailureLink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: deprication warnings, TypeError (#7)
## Description - replaced 'cgi' with 'EmailMessage' due to deprication in Python3.13; - fixed a TypeError: "a bytes-like object is required, not 'str'"; - fixed xml parsing; - use 'unittest' instead of custom framework; - removed Python 3.2 from tests.yaml; ## Testing By @dnzbk: - NZBGet v23.1/Windows 11;
- Loading branch information
Showing
6 changed files
with
119 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<array> | ||
<data> | ||
<value> | ||
<struct> | ||
<member><name>NZBID</name><value><i4>2</i4></value></member> | ||
<member><name>NZBFilename</name><value><string>2.nzb</string></value></member> | ||
</struct> | ||
</value> | ||
<value> | ||
<struct> | ||
<member><name>NZBID</name><value><i4>1</i4></value></member> | ||
<member><name>NZBFilename</name><value><string>1.nzb</string></value></member> | ||
</struct> | ||
</value> | ||
</data> | ||
</array> | ||
</array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters