replacing basestring with str

This commit is contained in:
Joern Boegeholz 2019-07-12 13:16:50 +02:00 committed by GitHub
parent dded8d3790
commit 302d911d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ def pylg_check_bool(value, name):
def pylg_check_string(value, name):
if not isinstance(value, basestring):
if not isinstance(value, str):
warning_msg = ("Invalid type for " + name + " in " +
PYLG_USER_FILE +