summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-08-22 23:32:56 +0200
committermathieui <mathieui@mathieui.net>2018-08-22 23:32:56 +0200
commit1524245dd0c3bf63a31393bd1faf3df8f44e1c96 (patch)
treea03b1df1711733cfab334da23636fa87a3e64343
parent0e7ebf974e3ec4f47e5f0781781ff43d99c4f6f3 (diff)
downloadpoezio-1524245dd0c3bf63a31393bd1faf3df8f44e1c96.tar.gz
poezio-1524245dd0c3bf63a31393bd1faf3df8f44e1c96.tar.bz2
poezio-1524245dd0c3bf63a31393bd1faf3df8f44e1c96.tar.xz
poezio-1524245dd0c3bf63a31393bd1faf3df8f44e1c96.zip
Do not add our directory to the path
it’s bad practice and can create issues
-rw-r--r--data/themes/dark.py4
-rw-r--r--poezio/poezio.py2
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():
"""