1
0
mirror of https://github.com/sashacmc/photo-importer.git synced 2025-02-16 18:34:34 +02:00

Update modules import

This commit is contained in:
Alexander Bushnev 2022-11-29 00:17:51 +01:00
parent 3b157d32b7
commit 57b2fbe2e9
2 changed files with 8 additions and 14 deletions

View File

@ -1,17 +1,14 @@
#!/usr/bin/python3
import os
import sys
import logging
import threading
sys.path.insert(0, os.path.abspath('..'))
from photo_importer import log # noqa
from photo_importer import mover # noqa
from photo_importer import config # noqa
from photo_importer import rotator # noqa
from photo_importer import fileprop # noqa
from . import log
from . import mover
from . import config
from . import rotator
from . import fileprop
class Importer(threading.Thread):

View File

@ -2,7 +2,6 @@
import os
import re
import sys
import glob
import json
import psutil
@ -12,11 +11,9 @@ import argparse
import http.server
from http import HTTPStatus
sys.path.insert(0, os.path.abspath('..'))
from photo_importer import log # noqa
from photo_importer import config # noqa
from photo_importer import importer # noqa
from . import log
from . import config
from . import importer
FIXED_IN_PATH_NAME = 'none'