mirror of
https://github.com/Wojtek242/pylg.git
synced 2024-11-24 16:35:26 +01:00
Merge pull request #2 from jboegeholz/pylg-dev
replacing basestring with str
This commit is contained in:
commit
6fd0132998
@ -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 +
|
||||
|
Loading…
Reference in New Issue
Block a user