瀏覽代碼

Fix plugins after former refactoring

Alois Mahdal 10 年之前
父節點
當前提交
25bbc2b6f0
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      plugins/dump.py
  2. 1
    1
      plugins/sh.py

+ 1
- 1
plugins/dump.py 查看文件

@@ -6,5 +6,5 @@ import sardine
6 6
 class Plugin(sardine.BasePlugin):
7 7
 
8 8
     def render_plain(self):
9
-        out = "args = %s" % repr(self.args)
9
+        out = "args = %s" % repr(self.data.args)
10 10
         return out

+ 1
- 1
plugins/sh.py 查看文件

@@ -8,4 +8,4 @@ import sardine
8 8
 class Plugin(sardine.BasePlugin):
9 9
 
10 10
     def render_plain(self):
11
-        return subprocess.check_output(self.args)
11
+        return subprocess.check_output(self.data.args)