summaryrefslogtreecommitdiff
path: root/Pb/Pattern/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Pb/Pattern/__init__.py')
-rwxr-xr-xPb/Pattern/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Pb/Pattern/__init__.py b/Pb/Pattern/__init__.py
index 905ddf9..7c53746 100755
--- a/Pb/Pattern/__init__.py
+++ b/Pb/Pattern/__init__.py
@@ -11,9 +11,9 @@ import simplejson as json
from PIL import Image
import uuid
-FUSE_MODE="Pin_Light"
+_fuse_mode="Pin_Light"
-class Pattern(Pb):
+class Impattern(Pb):
def __init__(self, **kwargs):
self.params = {}
self.tag = "imPattern";
@@ -149,7 +149,7 @@ class Pattern(Pb):
self._call_cmd(cmd)
#third step
- def _fuse_mask(self, fuse_mode=FUSE_MODE):
+ def _fuse_mask(self, fuse_mode=_fuse_mode):
cmd = [BIN_CONVERT, "-dispose", "2", self.filepath, "null:",
self._downloaded_file, "-matte", "-compose", fuse_mode, "-layers", "composite",
self.filepath]