damage refactor, new averages
This commit is contained in:
@@ -26,10 +26,7 @@ if __name__ == '__main__':
|
||||
out = get_utf8_writer(sys.stdout)
|
||||
err_out = get_utf8_writer(sys.stderr)
|
||||
|
||||
# TODO: doesn't work if script is symlinked
|
||||
db_path = os.path.dirname(sys.argv[0])
|
||||
db_path = os.path.join(db_path, "..", "db", "mh4u.db")
|
||||
db = MHDB(db_path)
|
||||
db = MHDB(_pathfix.db_path)
|
||||
|
||||
item_row = rewards.find_item(db, item_name, err_out)
|
||||
if item_row is None:
|
||||
|
||||
Reference in New Issue
Block a user