openmedialibrary/oml/__main__.py
2014-09-03 00:38:34 +02:00

15 lines
222 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
import sys
import api
import commands
import server
if len(sys.argv) > 1 and sys.argv[1] == 'server':
server.run()
else:
commands.main()