Update service.py

fixes napiprojekt for smb shares