Readd main() method, to not break bin/mopidy

This commit is contained in:
Stein Magnus Jodal 2010-08-20 16:21:07 +02:00
parent 976086ae65
commit 19c4f1c09f

View File

@ -8,7 +8,10 @@ sys.path.insert(0,
from mopidy.core import CoreProcess
if __name__ == '__main__':
def main():
# Explictly call run() instead of start(), since we don't need to start
# another process.
CoreProcess().run()
if __name__ == '__main__':
main()