mirror of
https://github.com/justinccdev/opensimulator-tools.git
synced 2026-08-14 01:07:50 +00:00
fix minor bug in report error if no stat selected in ostasum.py
This commit is contained in:
@@ -37,7 +37,7 @@ for path in opt.statsLogPath:
|
||||
stats = corpus.getStats(opt.select)
|
||||
|
||||
if len(stats) <= 0:
|
||||
print "No stats matching %s" % (opts.select)
|
||||
print "No stats matching %s" % (opt.select)
|
||||
sys.exit(1)
|
||||
|
||||
if opt.action == "sum":
|
||||
@@ -58,4 +58,4 @@ for stat in stats.values():
|
||||
else:
|
||||
print
|
||||
|
||||
print "\nFrom %s samples" % (len(corpus))
|
||||
print "\nFrom %s samples" % (len(corpus))
|
||||
|
||||
Reference in New Issue
Block a user