Sorted imports on main controller

This commit is contained in:
Manuel Cortez 2022-02-24 16:18:01 -06:00
parent 9f74d568f0
commit fcb2ce119b
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -1,48 +1,42 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import platform import os
system = platform.system() import logging
import application import webbrowser
import wx import wx
import requests import requests
from audio_services import youtube_utils
import arrow import arrow
if system == "Windows": import keystrokeEditor
from update import updater import sessions
from wxUI import (view, dialogs, commonMessageDialogs, sysTrayIcon) import widgetUtils
from . import settings import config
from extra import SoundsTutorial, ocr import languageHandler
import keystrokeEditor import application
from keyboard_handler.wx_handler import WXKeyboardHandler import sound
from . import userActionsController import output
from . import trendingTopics from pubsub import pub
from . import user from tweepy.errors import TweepyException, Forbidden
from . import listsController from geopy.geocoders import Nominatim
from . import filterController from update import updater
# from issueReporter import issueReporter from audio_services import youtube_utils
elif system == "Linux": from extra import SoundsTutorial, ocr
from gtkUI import (view, commonMessageDialogs) from wxUI import view, dialogs, commonMessageDialogs, sysTrayIcon
from . import settings
from keyboard_handler.wx_handler import WXKeyboardHandler
from . import userActionsController
from . import trendingTopics
from . import user
from . import listsController
from . import filterController
from sessions.twitter import utils, compose from sessions.twitter import utils, compose
from sessionmanager import manager, sessionManager from sessionmanager import manager, sessionManager
from controller import buffers from controller import buffers
from . import messages from . import messages
from . import userAliasController from . import userAliasController
import sessions
from sessions.twitter import session as session_ from sessions.twitter import session as session_
from pubsub import pub
import sound
import output
from tweepy.errors import TweepyException, Forbidden
from mysc.thread_utils import call_threaded from mysc.thread_utils import call_threaded
from mysc.repeating_timer import RepeatingTimer from mysc.repeating_timer import RepeatingTimer
from mysc import restart from mysc import restart
import config
import widgetUtils
import logging
import webbrowser
from geopy.geocoders import Nominatim
from mysc import localization from mysc import localization
import os
import languageHandler
log = logging.getLogger("mainController") log = logging.getLogger("mainController")