From a78fb8a603c2fbafb61b39a6e0c6f0b1f4ca6474 Mon Sep 17 00:00:00 2001 From: pepperpepperpepper Date: Tue, 8 Dec 2015 00:19:15 -0800 Subject: fixed an issue with tag --- photoblaster/modules/pbgenerate.py | 3 +-- 1 file changed, 1 insertion(+), 2 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: -- cgit v1.2.3-70-g09d2 From 488e3740c904270226dcc40afbc78d134311c0ba Mon Sep 17 00:00:00 2001 From: pepperpepperpepper Date: Tue, 8 Dec 2015 16:30:53 -0800 Subject: removed semicolon --- run_module_examples.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3-70-g09d2