Skip to content

Commit

Permalink
importError Fixed!.
Browse files Browse the repository at this point in the history
Previously the modules were in src but now moved to gui.So the importError occurs which still searches in same src directory.
  • Loading branch information
iharsh234 committed Mar 23, 2016
1 parent 19416a4 commit 05565ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/UI/player/test_gtk2player.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#script tested with python2.7


import sys,os

module_path = os.path.join(os.path.dirname(__file__),"../../..")
sys.path.append(module_path)

from src.common.decorators import exc_handler
from src.lib import vlc
from gui.common.decorators import exc_handler
from gui.lib import vlc
import gtk


Expand Down

1 comment on commit 05565ac

@vicente-gonzalez-ruiz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks (again)!

Please sign in to comment.