Fix imports so it's compatible with the AUR setup

This commit is contained in:
wheaney 2025-03-20 20:59:22 -07:00
parent 516317c798
commit 6fe70c6613
3 changed files with 7 additions and 5 deletions

View File

@ -21,6 +21,12 @@
import os
import sys
import os
import sys
lib_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib')
sys.path.insert(0, lib_dir)
import signal
import locale
import gettext

View File

@ -19,10 +19,6 @@
import os
import sys
lib_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib')
sys.path.insert(0, lib_dir)
import gi
import logging
import argparse

View File

@ -4,7 +4,7 @@ import argparse
import logging
import sys
import signal
from .lib import pydbus
import pydbus
import gi
import time