From 43ff3b060b144c4dd09056a9b1fafe1c514fc3eb Mon Sep 17 00:00:00 2001 From: Devansh Soni Date: Sun, 27 Dec 2020 14:54:48 +0530 Subject: [PATCH 1/2] Fixed issue with importing model.py This file was throwing an Import error on Line 5. --- leetcode/views/loading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leetcode/views/loading.py b/leetcode/views/loading.py index 8c4407c..4eadcfc 100644 --- a/leetcode/views/loading.py +++ b/leetcode/views/loading.py @@ -2,7 +2,7 @@ from threading import Thread import urwid from .viewhelper import delay_refresh -from leetcode.model import EasyLock +from ..helper.model import EasyLock class LoadingView(urwid.Frame): From a75063e3371c5034e2e5f886a7f0a760023928bc Mon Sep 17 00:00:00 2001 From: Devansh Soni Date: Sun, 27 Dec 2020 14:56:25 +0530 Subject: [PATCH 2/2] Fixed import error in line 6 Line 6 was throwing an import error due to the wrong path. --- leetcode/views/home.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leetcode/views/home.py b/leetcode/views/home.py index 4a6f173..1acae18 100644 --- a/leetcode/views/home.py +++ b/leetcode/views/home.py @@ -3,7 +3,7 @@ import json import urwid from .viewhelper import vim_key_map -from ..config import TAG_FILE +from ..helper.config import TAG_FILE class ItemWidget(urwid.WidgetWrap):