Further Python3 fixes.

This commit is contained in:
Cas Cremers
2020-10-27 22:10:55 +01:00
parent 3a6041ccac
commit 38a0fba212
5 changed files with 20 additions and 15 deletions

View File

@@ -41,8 +41,9 @@ def testDot(fpath):
try:
cmd = "%s -V" % (fpath)
(sts,sout,serr) = Misc.safeCommandOutput(cmd)
if sts != -1:
if "version" in sout + serr:
if "version" in str(sout) + str(serr):
return True
except:
pass