'From batch file execution some commands are not getting executed
Solution 1:[1]
You are evaluating None as a String and not as its literal.
You need to remove the quotes around 'None' and use:
if data is None:
or even
if data:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |

