replace everywhere: 'is [not] None' -> '(==|!=) None'
This commit is contained in:
parent
3ae35a87d0
commit
ec1a9dbfca
28 changed files with 690 additions and 668 deletions
|
|
@ -42,7 +42,7 @@ class DevState(PyState):
|
|||
f.write("\"a_%s\" -> \"a_%s\";\n" % (i.int, e[1].int))
|
||||
f.write("}")
|
||||
|
||||
if png_path is not None:
|
||||
if png_path != None:
|
||||
# generate png from dot-file
|
||||
bashCommand = f"dot -Tpng {path} -o {png_path}"
|
||||
import subprocess
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue