--- a/borgend.py Sun Jan 28 11:38:01 2018 +0000 +++ b/borgend.py Sun Jan 28 11:54:46 2018 +0000 @@ -5,9 +5,10 @@ import sys import argparse import platform -import branding +import logging # Own modules needed at this stage -import locations +import borgend.branding as branding +import borgend.locations as locations # # Argument processing @@ -36,14 +37,12 @@ # Done parsing args, import our own modules, and launch everything # -import branding -import config -import dreamtime -import loggers -import logging -from scheduler import Scheduler -from repository import Repository -from backup import Backup +import borgend.config as config +import borgend.dreamtime as dreamtime +import borgend.loggers as loggers +from borgend.scheduler import Scheduler +from borgend.repository import Repository +from borgend.backup import Backup logger=loggers.mainlogger @@ -85,7 +84,7 @@ scheduler.join() else: # Start UI, and let it handle exit control - from ui import BorgendTray + from borgend.ui import BorgendTray tray=BorgendTray(backups); tray.run()