clinton-hall / GetScripts

A Collection of NZBGet Post-Process Scripts
GNU General Public License v2.0
100 stars 39 forks source link

Use python2 Shebang #12

Closed hashworks closed 8 years ago

hashworks commented 8 years ago

Shebang #!/usr/bin/env python results in Python 3 being used on my system. I suggest #!/usr/bin/env python2.

clinton-hall commented 8 years ago

or I try and make these scripts python 3 compatible...

hashworks commented 8 years ago

Then I would still recommend the #!/usr/bin/env python3 shebang in case the distro has set python2 as default. Also, never change a running system, if you're comfortable with python 2 go with it

clinton-hall commented 8 years ago

the intention would be to make this stable under python2 and python3 in the hopes that python would work.

In nzbToMedia I ran into big issues with python2 as this doesn't work on OSX... As a result I have a default branch using python2 and an OSX branch using python

clinton-hall commented 8 years ago

Created a new branch. to use

git pull
git checkout python2