Permalink
Browse files

Merge pull request #99 from dersphere/fix_xbmcvfs_import_error

fix xbmcvfs import error on non cli mode
  • Loading branch information...
2 parents fe67b1b + 4b4a49f commit 30a5068c20a28b9715bcc76e95f6fe47414e9f5d @jbeluch committed Mar 19, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 xbmcswift2/__init__.py
View
@@ -46,6 +46,7 @@ def func(*args, **kwargs):
import xbmcgui
import xbmcplugin
import xbmcaddon
+ import xbmcvfs
CLI_MODE = False
except ImportError:
CLI_MODE = True

0 comments on commit 30a5068

Please sign in to comment.