Skip to content
Snippets Groups Projects
Commit 73f7bb88 authored by Chad Hanna's avatar Chad Hanna
Browse files

gstlal_ll_inspiral_daily_page: fix missing imports

parent 8bb650b7
No related branches found
No related tags found
No related merge requests found
......@@ -22,10 +22,11 @@
"""Meta program to generate offline style summary pages from online runs."""
import sys, os, subprocess, re, time, glob
import sys, os, subprocess, re, time, glob, shutil
from optparse import OptionParser
from glue.text_progress_bar import ProgressBar
from pylal.datatypes import LIGOTimeGPS
from gstlal import aggregator
import lal
from multiprocessing import Pool
from gstlal import inspiral_pipe
......@@ -241,7 +242,7 @@ if __name__ == '__main__':
try:
webserverplotdir = os.path.join(options.web_dir, "plots")
if os.path.exists(webserverplotdir):
newdir = os.path.join(options.web_dir, str(int(aggregator.now())))
newdir = os.path.join(options.web_dir, str(int(now())))
aggregator.makedir(newdir)
shutil.move(webserverplotdir, newdir)
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment