Make sure static files are loaded

This commit is contained in:
andrew committed 2023-04-04 04:26:42 -04:00
1 parent 19cfa5391d
commit 3dd786deb9
2 files changed
+4 -6

No files matched your search

+1 -6
View File
@@ -27,18 +27,13 @@ class ArtifactWatcher(threading.Thread):
test.save()
def run(self):
while True:
for test in OpenBench.utils.get_awaiting_tests():
self.update_test(test)
time.sleep(10)
class Command(BaseRunserverCommand):
help = "Test"
def inner_run(self, *args, **options):
self.pre_start()
super().inner_run(*args, **options)
@@ -48,4 +43,4 @@ class Command(BaseRunserverCommand):
self.watcher = ArtifactWatcher().start()
def pre_quit(self):
self.watcher.kill()
self.watcher.kill()