Fix paths that point to eve.db
This commit is contained in:
@@ -32,7 +32,7 @@ import sqlite3
|
||||
import sys
|
||||
|
||||
script_dir = os.path.dirname(__file__)
|
||||
default_old = os.path.join(script_dir, "..", "staticdata", "eve.db")
|
||||
default_old = os.path.join(script_dir, "..", "eve.db")
|
||||
|
||||
def main(old, new, groups=True, effects=True, attributes=True, renames=True):
|
||||
# Open both databases and get their cursors
|
||||
@@ -507,4 +507,4 @@ if __name__ == "__main__":
|
||||
parser.add_argument("-r", "--norenames", action="store_false", default=True, dest="renames", help="don't show list of renamed data")
|
||||
args = parser.parse_args()
|
||||
|
||||
main(args.old, args.new, args.groups, args.effects, args.attributes, args.renames)
|
||||
main(args.old, args.new, args.groups, args.effects, args.attributes, args.renames)
|
||||
|
||||
Reference in New Issue
Block a user