From e46e7b3ee2ec4dad6346decbacd504ac814863b4 Mon Sep 17 00:00:00 2001 From: Marcel Hellwig <1hellwig@informatik.uni-hamburg.de> Date: Thu, 17 Sep 2015 18:04:14 +0200 Subject: [PATCH] changed magic line from python->python2 Since python is sometimes (and for me on arch linux) a symlink to the python3 utils, you should be more explicit with that. --- run | 2 +- setup.py | 2 +- src/octoprint/__init__.py | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/run b/run index 0c51da39..1145a24f 100755 --- a/run +++ b/run @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import os import sys diff --git a/setup.py b/setup.py index fc2a74d6..5130635b 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # coding=utf-8 from setuptools import setup, find_packages diff --git a/src/octoprint/__init__.py b/src/octoprint/__init__.py index 67baa4f7..883acc5d 100644 --- a/src/octoprint/__init__.py +++ b/src/octoprint/__init__.py @@ -1,4 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 + import sys from octoprint.daemon import Daemon from octoprint.server import Server