bin/degal
author Tero Marttila <terom@fixme.fi>
Thu, 11 Jun 2009 21:40:39 +0300
changeset 92 eb50b4f7812d
parent 48 20355dd2e61a
permissions -rwxr-xr-x
move Command exception handling into command.py, and handle KeyboardInterrupt
#!/usr/bin/env python2.5
#
# DeGAL - A pretty simple web image gallery
# Copyright 2008 Tero Marttila
#

# import package
import degal.main

if __name__ == '__main__' :
    import sys
    
    # run entrypoint with command arguments, and exit with returned error code
    sys.exit(degal.main.main(sys.argv))