mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-10 04:15:51 +00:00
intermediate commit
This commit is contained in:
@ -26,9 +26,11 @@ class Config():
|
||||
def __init__(self, applet):
|
||||
self.applet = applet
|
||||
self.config = self.applet.config()
|
||||
|
||||
|
||||
|
||||
def get(self, key, default = ''):
|
||||
return self.config.readEntry(key, default).toString()
|
||||
|
||||
|
||||
|
||||
def set(self, key, value):
|
||||
self.config.writeEntry(key, value)
|
||||
|
Reference in New Issue
Block a user