From d6ed0bd416e647a8dc4558549053a8346e551fc2 Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Thu, 14 Mar 2019 16:03:35 +0100 Subject: [PATCH] overviewer: use print_function PYTHON 3 SOON POGGERS --- overviewer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/overviewer.py b/overviewer.py index a2b5593..8bcebb2 100755 --- a/overviewer.py +++ b/overviewer.py @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License along # with the Overviewer. If not, see . +from __future__ import print_function + import platform import sys @@ -588,7 +590,7 @@ def main(): def list_worlds(): "Prints out a brief summary of saves found in the default directory" - print + print() worlds = world.get_worlds() if not worlds: print('No world saves found in the usual place.') @@ -623,7 +625,7 @@ def list_worlds(): print(formatString % (name, playstamp, timestamp, path)) found_corrupt = any([x.get("IsCorrupt") for x in worlds.values()]) if found_corrupt: - print("") + print() print("An error has been detected in one or more of your worlds (see the above table).") print("This is usually due to a corrupt level.dat file. Corrupt worlds need to be " "repaired before Overviewer can render them.")