summaryrefslogtreecommitdiff
path: root/run_module_examples.py
blob: 909c20752d2f9f09dc376be85c2c0abea62c2658 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/python2.7
"""calls the example_run method on all modules"""
from photoblaster.modules import Pb
for cls in Pb.__subclasses__():
    if cls.__name__ == "PbGradient":
        print cls.__name__
        instance = cls.example_run()
        instance.file_s3move()
        print instance.file_dict()
        instance.db_send();