SilverCity extension compatibility with Python3