Fix swapmanager.py

Otherwise all commands but "macro" are not interpreted anymore. Try "traffic on" for example.