url_base fix

This commit is contained in:
Ruud
2011-05-28 23:21:58 +02:00
parent 98aafeaec3
commit 05f63405e0
5 changed files with 11 additions and 10 deletions
+1 -3
View File
@@ -1,4 +1,4 @@
from couchpotato import addView, get_session
from couchpotato import addView
from couchpotato.environment import Env
from flask.helpers import send_from_directory
import os.path
@@ -28,9 +28,7 @@ class Plugin():
return path
def showStatic(self, file = ''):
dir = os.path.join(self.plugin_path, 'static')
return send_from_directory(dir, file)
def isDisabled(self):