diff --git a/sabnzbd/utils/checkdir.py b/sabnzbd/utils/checkdir.py index 4d2500f..0ba5c11 100644 --- a/sabnzbd/utils/checkdir.py +++ b/sabnzbd/utils/checkdir.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 """ Functions to check if the path filesystem uses FAT diff --git a/sabnzbd/utils/diskspeed.py b/sabnzbd/utils/diskspeed.py index 66458cd..9d7710b 100644 --- a/sabnzbd/utils/diskspeed.py +++ b/sabnzbd/utils/diskspeed.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 import time import os diff --git a/sabnzbd/utils/internetspeed.py b/sabnzbd/utils/internetspeed.py index 0200ad9..5058c90 100755 --- a/sabnzbd/utils/internetspeed.py +++ b/sabnzbd/utils/internetspeed.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 """ Module to measure and report Internet speed diff --git a/sabnzbd/utils/systrayiconthread.py b/sabnzbd/utils/systrayiconthread.py index 8b275b8..3f593d7 100644 --- a/sabnzbd/utils/systrayiconthread.py +++ b/sabnzbd/utils/systrayiconthread.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # based on SysTrayIcon.py by Simon Brunning - simon@brunningonline.net # http://www.brunningonline.net/simon/blog/archives/001835.html # http://www.brunningonline.net/simon/blog/archives/SysTrayIcon.py.html diff --git a/scripts/Sample-PostProc.py b/scripts/Sample-PostProc.py index a0778ca..b593b6a 100755 --- a/scripts/Sample-PostProc.py +++ b/scripts/Sample-PostProc.py @@ -1,10 +1,10 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # Example Post-Processing Script for SABnzbd (3.0.0 and higher), written in Python. # For Linux, MacOS, Windows and any other platform with Python # See https://sabnzbd.org/wiki/scripts/post-processing-scripts for details # # Example test run on Linux: -# env SAB_VERSION=X.Y SAB_AVG_BPS=666 python ./Sample-PostProc.py somedir222 nzbname CleanJobName123 Index12 Cat88 MyGroup PP0 https://example.com/ +# env SAB_VERSION=X.Y SAB_AVG_BPS=666 python3 ./Sample-PostProc.py somedir222 nzbname CleanJobName123 Index12 Cat88 MyGroup PP0 https://example.com/ import sys, os