Code formatting
This commit is contained in:
parent
0234b20ce3
commit
2bfb988460
60 changed files with 392 additions and 396 deletions
|
|
@ -1,11 +1,12 @@
|
|||
import logging
|
||||
import os
|
||||
|
||||
from openflexure_microscope.paths import (
|
||||
FALLBACK_OPENFLEXURE_VAR_PATH,
|
||||
PREFERRED_OPENFLEXURE_VAR_PATH,
|
||||
)
|
||||
import logging
|
||||
import os
|
||||
|
||||
from . import check_settings, check_capture_reload
|
||||
from . import check_capture_reload, check_settings
|
||||
|
||||
# Paths for suggestions
|
||||
LOGS_PATHS = [
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
from openflexure_microscope.rescue.monitor_timeout import launch_timeout_test_process
|
||||
from openflexure_microscope.captures.capture_manager import BASE_CAPTURE_PATH
|
||||
from openflexure_microscope.captures.capture import build_captures_from_exif
|
||||
from openflexure_microscope.config import user_settings
|
||||
|
||||
import logging
|
||||
|
||||
from openflexure_microscope.captures.capture import build_captures_from_exif
|
||||
from openflexure_microscope.captures.capture_manager import BASE_CAPTURE_PATH
|
||||
from openflexure_microscope.config import user_settings
|
||||
from openflexure_microscope.rescue.monitor_timeout import launch_timeout_test_process
|
||||
|
||||
|
||||
def check_capture_rebuild(timeout=10):
|
||||
logging.info("Loading user settings...")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import logging
|
||||
import json
|
||||
import logging
|
||||
|
||||
ERROR_SOURCES = []
|
||||
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@
|
|||
# */5 * * * * /root/bin/monitor_service.py prosody > /dev/null 2>&1
|
||||
#
|
||||
|
||||
import sys
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
class ServiceMonitor(object):
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
import multiprocessing
|
||||
import logging
|
||||
import multiprocessing
|
||||
import time
|
||||
|
||||
|
||||
# bar
|
||||
def test_long_fn():
|
||||
for _ in range(100):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue