diff options
Diffstat (limited to 'servergreps/hercules/src/reporter.py')
-rwxr-xr-x | servergreps/hercules/src/reporter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servergreps/hercules/src/reporter.py b/servergreps/hercules/src/reporter.py index 535887e..fedb23a 100755 --- a/servergreps/hercules/src/reporter.py +++ b/servergreps/hercules/src/reporter.py @@ -6,7 +6,7 @@ class Reporter: def reportManaplus(self, hercules, manaplus): - with open(self.packetDir + "/hercules_outpackets.txt", "w") as w: + with open(self.packetDir + "/" + hercules.reportName + "_outpackets.txt", "w") as w: for packet in hercules.outPacketsSorted: data = packet while data[0] == "0": @@ -181,7 +181,7 @@ class Reporter: def reportHercules(self, hercules): - with open(self.packetDir + "/hercules_issues.txt", "w") as w: + with open(self.packetDir + "/" + hercules.reportName + "_issues.txt", "w") as w: for name in hercules.functionToId: packet = hercules.functionToId[name] if name != hercules.inPackets[packet][1]: |