More options for desktop

This commit is contained in:
Ruud committed 2012-01-07 15:25:22 +01:00
1 parent 8334f5e899
commit c670a951cb
2 files changed
+19 -4

No files matched your search

+9
View File
@@ -1,3 +1,4 @@
from couchpotato.core.event import fireEvent, addEvent
from couchpotato.core.loader import Loader
from couchpotato.core.settings import Settings
@@ -52,3 +53,11 @@ class Env(object):
@staticmethod
def getPermission(type):
return int(Env.get('settings').get('permission_%s' % type, default = 0777))
@staticmethod
def fireEvent(*args, **kwargs):
return fireEvent(*args, **kwargs)
@staticmethod
def addEvent(*args, **kwargs):
return addEvent(*args, **kwargs)