From 1524245dd0c3bf63a31393bd1faf3df8f44e1c96 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 22 Aug 2018 23:32:56 +0200 Subject: Do not add our directory to the path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit it’s bad practice and can create issues --- data/themes/dark.py | 4 ++-- poezio/poezio.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/data/themes/dark.py b/data/themes/dark.py index 33fc5f37..5879c217 100644 --- a/data/themes/dark.py +++ b/data/themes/dark.py @@ -1,6 +1,6 @@ -import theming +import poezio.theming -class DarkTheme(theming.Theme): +class DarkTheme(poezio.theming.Theme): COLOR_INFORMATION_BAR = (-1, 236) COLOR_STATUS_XA = (53, -1) COLOR_STATUS_AWAY = (214, -1) diff --git a/poezio/poezio.py b/poezio/poezio.py index 6dc51388..2544ef1a 100644 --- a/poezio/poezio.py +++ b/poezio/poezio.py @@ -12,8 +12,6 @@ import sys import os import signal -sys.path.append(os.path.dirname(os.path.abspath(__file__))) - def test_curses(): """ -- cgit v1.2.3