Code: Select all
[msl@localhost ~]$ FAHControl
File "/usr/bin/FAHControl", line 57
if sock.recv(1024).strip() == 'OK': print 'Ok'
^
SyntaxError: invalid syntax
[msl@localhost ~]$Code: Select all
#!/usr/bin/pythonCode: Select all
#!/usr/bin/python2A cleaner solution -- which is what I've actually done -- is to take a copy of FAHControl into a directory that's both under my home directory and on my path, and to modify the copy.
Perhaps the developers could modify the shebang line in the next release, so that this workaround isn't necessary?