Imports cleanup

This commit is contained in:
Veronica K. B. Olsen
2020-09-26 13:02:51 +02:00
parent e36892ed38
commit eb66b879c5
27 changed files with 37 additions and 38 deletions
+1 -1
View File
@@ -25,9 +25,9 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import nw
import logging
import json
import nw
from os import path
from time import time
+3 -2
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from os import path, mkdir, listdir, unlink, rename, rmdir
from lxml import etree
@@ -41,7 +41,8 @@ from nw.core.document import NWDoc
from nw.core.status import NWStatus
from nw.core.options import OptionState
from nw.common import (
checkString, checkBool, checkInt, isHandle, formatTimeStamp, makeFileNameSafe
checkString, checkBool, checkInt, isHandle, formatTimeStamp,
makeFileNameSafe
)
from nw.constants import (
nwFiles, nwItemType, nwItemClass, nwItemLayout, nwLabels, nwAlert
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from os import path, listdir
from difflib import get_close_matches