From 28a699b56fed8978d8d619cd948687b876223ed1 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Fri, 12 Feb 2021 09:04:24 -0500 Subject: [PATCH] Improve python2 support. --- install.py | 4 +++- mtsenliven.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/install.py b/install.py index ce3bea6..ac76a6c 100644 --- a/install.py +++ b/install.py @@ -1,4 +1,6 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python +from __future__ import print_function + import mtanalyze.minetestinfo print("This doesn't work (not yet implemented)") # https://github.com/poikilos/homedecor_ua diff --git a/mtsenliven.py b/mtsenliven.py index 18107ea..830fc58 100644 --- a/mtsenliven.py +++ b/mtsenliven.py @@ -1,4 +1,5 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python +from __future__ import print_function # runs minetestserver using the paths defined by minetestinfo # NOTE: SIGINT (as opposed to KILL) makes sure minetest server