Python - script sort with Transmission