summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--photoblaster/modules/base.py2
-rw-r--r--run_module_examples.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/photoblaster/modules/base.py b/photoblaster/modules/base.py
index 382b96c..cae728e 100644
--- a/photoblaster/modules/base.py
+++ b/photoblaster/modules/base.py
@@ -42,7 +42,7 @@ class Pb(object):
sys.stderr.write("ERROR:{} - {}\n".format(self.__class__.__name__, s))
raise PbProcessError
- def _cleanup(self):
+ def cleanup(self):
if not self._files_created:
return
map(lambda n: n.delete(), self._files_created)
diff --git a/run_module_examples.py b/run_module_examples.py
index 882de78..8a22c10 100644
--- a/run_module_examples.py
+++ b/run_module_examples.py
@@ -3,8 +3,8 @@
from photoblaster.modules import Pb
for cls in Pb.__subclasses__():
print cls.__name__
- if cls.__name__ == "PbBreaker":
+ if cls.__name__ == "PbGradient":
instance = cls.example_run()
- print instance.get_output_file().as_dict()
instance.get_output_file().s3move()
+ print instance.get_output_file().as_dict()
instance.db_send()