Merge pull request #2 from jboegeholz/pylg-dev

replacing basestring with str
This commit is contained in:
Wojciech Kozlowski 2019-07-23 09:14:22 +02:00 committed by GitHub
commit 6fd0132998
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 +