summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xphotoblaster/modules/pbgenerate.py3
-rw-r--r--run_module_examples.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/photoblaster/modules/pbgenerate.py b/photoblaster/modules/pbgenerate.py
index 1cab3fd..d857562 100755
--- a/photoblaster/modules/pbgenerate.py
+++ b/photoblaster/modules/pbgenerate.py
@@ -2,7 +2,6 @@
from photoblaster.config import BIN_CONVERT, OUTPUT_IMAGE_TYPES,\
DEFAULT_FINALFORMAT
from photoblaster.modules import Pb
-_DEFAULT_TAG = "PbGenerate"
_GRAVITY_PARAMS = [
"NorthWest", "North", "NorthEast", "West",
@@ -118,7 +117,7 @@ class PbGenerate(Pb):
"""Used for the database tag column. Allows for tracking of the type
of overlay method used."""
- self.tag = _DEFAULT_TAG
+ self.tag = self.__class__.__name__
if self.params.background:
self.tag = "%s:%s" % (self.tag, str(self.params.compose))
elif self.params.transparent:
diff --git a/run_module_examples.py b/run_module_examples.py
index 838934d..82d35ea 100644
--- a/run_module_examples.py
+++ b/run_module_examples.py
@@ -7,4 +7,4 @@ for cls in Pb.__subclasses__():
instance = cls.example_run()
instance.file_s3move()
print instance.file_dict()
- instance.db_send();
+ instance.db_send()