Added missing imports.
This commit is contained in:
parent
9dd4f7cc0f
commit
c0d644c4da
@ -1,6 +1,8 @@
|
||||
from syncplay.client import SyncplayClient
|
||||
from syncplay.ui.ConfigurationGetter import ConfigurationGetter
|
||||
from syncplay import ui
|
||||
from syncplay.messages import getMessage
|
||||
|
||||
try:
|
||||
from syncplay.players.mpc import MPCHCAPIPlayer
|
||||
except ImportError:
|
||||
|
||||
@ -5,6 +5,7 @@ pygtk.require('2.0')
|
||||
import gtk
|
||||
gtk.set_interactive(False)
|
||||
import cairo, gio, pango, atk, pangocairo, gobject #@UnusedImport
|
||||
from syncplay.messages import getMessage
|
||||
|
||||
class GuiConfiguration:
|
||||
def __init__(self, config):
|
||||
|
||||
@ -6,6 +6,8 @@ import os
|
||||
import re
|
||||
from syncplay import utils
|
||||
from syncplay import constants
|
||||
from syncplay.messages import getMessage
|
||||
|
||||
class ConsoleUI(threading.Thread):
|
||||
def __init__(self):
|
||||
self.promptMode = threading.Event()
|
||||
|
||||
@ -2,6 +2,7 @@ import time
|
||||
import re
|
||||
import datetime
|
||||
from syncplay import constants
|
||||
from syncplay.messages import getMessage
|
||||
|
||||
def retry(ExceptionToCheck, tries=4, delay=3, backoff=2, logger=None):
|
||||
"""Retry calling the decorated function using an exponential backoff.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user