Merge pull request #1406 from anntzer/plugins-relative-imports

Use relative imports to plugins.
This commit is contained in:
Steven Silvester
2015-03-05 20:16:37 -06:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
from util import prepare_for_display, window_manager, GuiLockError
from .util import prepare_for_display, window_manager, GuiLockError
try:
# we try to aquire the gui lock first
+1 -1
View File
@@ -2,7 +2,7 @@
from PyQt4 import QtGui, QtCore
from PyQt4.QtGui import (QWidget, QStackedWidget, QSlider, QGridLayout, QLabel)
from util import ColorMixer
from .util import ColorMixer
class IntelligentSlider(QWidget):
+1 -1
View File
@@ -2,7 +2,7 @@ import numpy as np
from PyQt4.QtGui import QWidget, QPainter, QGridLayout, QColor, QFrame
from util import histograms
from .util import histograms
class ColorHistogram(QWidget):