From 0a06034c9f0ecdf7992942c542a766b2dcd4b1f9 Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Thu, 13 Aug 2020 10:19:33 +0200 Subject: [PATCH] Fix cli --- relational_readline/linegui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relational_readline/linegui.py b/relational_readline/linegui.py index fa4caef..872c996 100644 --- a/relational_readline/linegui.py +++ b/relational_readline/linegui.py @@ -1,5 +1,5 @@ # Relational -# Copyright (C) 2010-2017 Salvo "LtWorf" Tomaselli +# Copyright (C) 2010-2020 Salvo "LtWorf" Tomaselli # # Relational is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -137,7 +137,7 @@ def load_relation(filename: str, defname:Optional[str]=None) -> Optional[str]: "%s is not a valid relation name" % defname, ERROR_COLOR), file=sys.stderr) return None try: - relations[defname] = relation.relation(filename) + relations[defname] = relation.Relation(filename) completer.add_completion(defname) printtty(colorize("Loaded relation %s" % defname, COLOR_GREEN))