Skip to content
Permalink
Browse files

overviewer: use print_function

PYTHON 3 SOON POGGERS
  • Loading branch information...
CounterPillow committed Mar 14, 2019
1 parent daa25d8 commit d6ed0bd416e647a8dc4558549053a8346e551fc2
Showing with 4 additions and 2 deletions.
  1. +4 −2 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 <http://www.gnu.org/licenses/>.

from __future__ import print_function

import platform
import sys

@@ -588,7 +590,7 @@ def set_renderchecks(checkname, num):

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.")

0 comments on commit d6ed0bd

Please sign in to comment.
You can’t perform that action at this time.