That should be:

```python
if event != 'netcalc-deploy':
```