Skip to content

Commit

Permalink
Improve logging by adding region folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenixin committed Nov 6, 2021
1 parent 79fe30b commit 1df5cc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion regionfixer_core/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,10 @@ def summary(self):
for r in list(self.keys()):
if not self[r].has_problems:
continue
text += "Region file: {0}\n".format(self[r].filename)
if self.path: rest, dimension_folder = split(self.path)
else: dimension_folder = ""
text += "Region file: {0}\n".format(join(dimension_folder,self[r].filename))

text += self[r].summary()
text += " +\n\n"
return text
Expand Down

0 comments on commit 1df5cc8

Please sign in to comment.