python3.8 compability fix

This commit is contained in:
lgandx 2020-08-17 16:08:24 -03:00
parent 691c44138c
commit d6f4911eb4
13 changed files with 18 additions and 18 deletions

View file

@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from utils import *
if settings.Config.PY2OR3 is "PY3":
if settings.Config.PY2OR3 == "PY3":
import urllib.parse as urlparse
import http.server as BaseHTTPServer
else: