From c8b0e203eff7667681ead5b3226f305aec7873b6 Mon Sep 17 00:00:00 2001 From: croneter Date: Wed, 21 Nov 2018 07:59:35 +0100 Subject: [PATCH] Fix ImportError --- resources/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index 740d0eb2..ad8d7a0a 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -233,7 +233,7 @@ def ERROR(txt='', hide_tb=False, notify=False, cancel_sync=False): short = str(sys.exc_info()[1]) LOG.error('Error encountered: %s - %s', txt, short) if cancel_sync: - import app + from . import app app.SYNC.stop_sync = True if hide_tb: return short