Fix etq repl starting in '.' instead of '.\_etiquette'.

This commit is contained in:
voussoir 2020-11-06 00:19:14 -08:00
parent 5792c3bdcf
commit 8d7f97a996

View file

@ -35,7 +35,7 @@ def photag(photo_id):
def erepl_argparse(args): def erepl_argparse(args):
global P global P
P = etiquette.photodb.PhotoDB('.', create=args.create) P = etiquette.photodb.PhotoDB(create=args.create)
if args.exec_statement: if args.exec_statement:
exec(args.exec_statement) exec(args.exec_statement)