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