Fix imports

This commit is contained in:
Fabian 2021-11-17 13:42:41 +01:00
parent 03a3fd72b3
commit a3a2c45832
5 changed files with 11 additions and 12 deletions

View File

@ -1,10 +1,9 @@
import os
from configparser import ConfigParser from configparser import ConfigParser
from pathlib import Path from pathlib import Path
from PySide2 import QtCore from PySide2 import QtCore
from exceptions import FimeException from fime.exceptions import FimeException
def dequotify(string): def dequotify(string):

View File

@ -1,6 +1,6 @@
from PySide2 import QtGui, QtWidgets from PySide2 import QtGui, QtWidgets
from task_completer import TaskCompleter from fime.task_completer import TaskCompleter
class ImportTask(QtWidgets.QDialog): class ImportTask(QtWidgets.QDialog):

View File

@ -7,12 +7,12 @@ from functools import partial
from PySide2 import QtCore, QtGui, QtWidgets from PySide2 import QtCore, QtGui, QtWidgets
from PySide2.QtWidgets import QMessageBox from PySide2.QtWidgets import QMessageBox
from data import Tasks, Log, Data from fime.data import Tasks, Log, Data
from exceptions import FimeException from fime.exceptions import FimeException
from import_task import ImportTask from fime.import_task import ImportTask
from task_edit import TaskEdit from fime.task_edit import TaskEdit
from report import Report from fime.report import Report
from util import get_screen_height from fime.util import get_screen_height
class App: class App:

View File

@ -4,8 +4,8 @@ from datetime import datetime
from PySide2.QtWidgets import QHeaderView from PySide2.QtWidgets import QHeaderView
from data import Tasks from fime.data import Tasks
from util import get_screen_height from fime.util import get_screen_height
class Report(QtWidgets.QDialog): class Report(QtWidgets.QDialog):

View File

@ -10,7 +10,7 @@ from PySide2.QtCore import QTimer
from PySide2.QtWidgets import QCompleter from PySide2.QtWidgets import QCompleter
from requests_futures.sessions import FuturesSession from requests_futures.sessions import FuturesSession
from config import Config from fime.config import Config
class TaskCompleter(QCompleter): class TaskCompleter(QCompleter):