forked from indymedia/epicyon
Only run the daemon if this is the main module
parent
605be761ff
commit
ed2aafc8cf
|
@ -1819,7 +1819,8 @@ if YTDomain:
|
||||||
if setTheme(baseDir, themeName):
|
if setTheme(baseDir, themeName):
|
||||||
print('Theme set to ' + themeName)
|
print('Theme set to ' + themeName)
|
||||||
|
|
||||||
runDaemon(args.blogsinstance, args.mediainstance,
|
if __name__ == "__main__":
|
||||||
|
runDaemon(args.blogsinstance, args.mediainstance,
|
||||||
args.maxRecentPosts,
|
args.maxRecentPosts,
|
||||||
not args.nosharedinbox,
|
not args.nosharedinbox,
|
||||||
registration, args.language, __version__,
|
registration, args.language, __version__,
|
||||||
|
|
Loading…
Reference in New Issue