libsaria: Import lastfm during import

I was doing this during an init() function.  It should be more efficient
to just do this right away.
This commit is contained in:
Bryan Schumaker 2011-05-25 21:00:07 -04:00
parent fffc7f8816
commit d41286c83c
1 changed files with 1 additions and 3 deletions

View File

@ -9,19 +9,17 @@ import path
if version.__dev__ == True:
import server
from path import lastfm
#plugin = None
lastfm = None
controls = None
# Initialize helpful variables
def init():
global lastfm
global controls
import controls
import sources
from path import lastfm
controls.init()