#!/usr/bin/python3

''' ddupdate main script, invokes ddupdate.main.main(). '''

import os.path
import sys

sys.path.pop(0)
HOME = os.path.abspath(os.path.dirname(os.path.realpath(__file__)))
sys.path.insert(0, os.path.join(HOME, 'lib'))

try:
    from lib.ddupdate import main
except ImportError:
    from ddupdate import main

main.main()
