Esempio n. 1
0
 def ready(self):
     self.display_missing_environment_variables()
     from common.helpers.tags import import_tags_from_csv
     if 'loaddata' in sys.argv:
         self.loaddata_clean()
     elif db_is_initialized():
         import_tags_from_csv()
Esempio n. 2
0
 def ready(self):
     from common.helpers.tags import import_tags_from_csv
     if db_is_initialized():
         import_tags_from_csv()
Esempio n. 3
0
 def ready(self):
     self.display_missing_environment_variables()
     from common.helpers.tags import import_tags_from_csv
     if db_is_initialized():
         import_tags_from_csv()