Merge branch 'develop'

This commit is contained in:
Dimitris Zlatanidis 2019-12-20 17:56:44 +01:00
commit b71ff5e655
4 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
3.7.4 - 20/12/2019
Fixed:
-Bugfix: UnicodeDecodeError: 'utf-8' codec can't decode byte
3.7.3 - 11/12/2019 3.7.3 - 11/12/2019
FIxed: FIxed:
- Bugfix: Slackware-current from Alien Bob 20191130 #119 - Bugfix: Slackware-current from Alien Bob 20191130 #119

View file

@ -1,4 +1,4 @@
# slpkg 3.7.3 # slpkg 3.7.4
Slpkg is a powerful software package manager that installs, updates, and removes packages on Slpkg is a powerful software package manager that installs, updates, and removes packages on
[Slackware](http://www.slackware.com/) based systems. It automatically computes dependencies and [Slackware](http://www.slackware.com/) based systems. It automatically computes dependencies and

View file

@ -78,7 +78,7 @@ class MetaData:
__all__ = "slpkg" __all__ = "slpkg"
__author__ = "dslackw" __author__ = "dslackw"
__version_info__ = (3, 7, 3) __version_info__ = (3, 7, 4)
__version__ = "{0}.{1}.{2}".format(*__version_info__) __version__ = "{0}.{1}.{2}".format(*__version_info__)
__license__ = "GNU General Public License v3 (GPLv3)" __license__ = "GNU General Public License v3 (GPLv3)"
__email__ = "d.zlatanidis@gmail.com" __email__ = "d.zlatanidis@gmail.com"

View file

@ -40,7 +40,7 @@ class URL:
""" """
try: try:
f = self.http.request('GET', self.link) f = self.http.request('GET', self.link)
return f.data.decode("utf-8") return f.data.decode("utf-8", "ignore")
except urllib3.exceptions.NewConnectionError: except urllib3.exceptions.NewConnectionError:
print("\n{0}Can't read the file '{1}'{2}".format( print("\n{0}Can't read the file '{1}'{2}".format(
self.meta.color["RED"], self.link.split("/")[-1], self.meta.color["RED"], self.link.split("/")[-1],