|  | @@ -1,7 +1,6 @@
 | 
											
												
													
														|  | 
 |  | +import config
 | 
											
												
													
														|  | 
 |  | +import cognos11
 | 
											
												
													
														|  |  import plac
 |  |  import plac
 | 
											
												
													
														|  | -from cognos11.c11_export import c11_export
 |  | 
 | 
											
												
													
														|  | -from cognos11.c11_create import c11_create
 |  | 
 | 
											
												
													
														|  | -from config.config import Config
 |  | 
 | 
											
												
													
														|  |  from enum import Enum
 |  |  from enum import Enum
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -14,21 +13,22 @@ class C11:
 | 
											
												
													
														|  |      commands = ['export', 'reportoutput', 'errors', 'create']
 |  |      commands = ['export', 'reportoutput', 'errors', 'create']
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      def export(self, folder='', format='XML'):
 |  |      def export(self, folder='', format='XML'):
 | 
											
												
													
														|  | -        cfg = Config()
 |  | 
 | 
											
												
													
														|  | -        exp = c11_export(cfg)
 |  | 
 | 
											
												
													
														|  | 
 |  | +        cfg = config.Config()
 | 
											
												
													
														|  | 
 |  | +        exp = cognos11.c11_export(cfg)
 | 
											
												
													
														|  |          exp.export_folder(folder, format)
 |  |          exp.export_folder(folder, format)
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      def reportoutput(self, folder=''):
 |  |      def reportoutput(self, folder=''):
 | 
											
												
													
														|  |          self.export(folder, 'PDF')
 |  |          self.export(folder, 'PDF')
 | 
											
												
													
														|  | 
 |  | +        
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      def errors(self):
 |  |      def errors(self):
 | 
											
												
													
														|  | -        cfg = Config()
 |  | 
 | 
											
												
													
														|  | -        exp = c11_export(cfg)
 |  | 
 | 
											
												
													
														|  | 
 |  | +        cfg = config.Config()
 | 
											
												
													
														|  | 
 |  | +        exp = cognos11.c11_export(cfg)
 | 
											
												
													
														|  |          exp.export_errors()
 |  |          exp.export_errors()
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      def create(self, path: str):
 |  |      def create(self, path: str):
 | 
											
												
													
														|  | -        cfg = Config()
 |  | 
 | 
											
												
													
														|  | -        c11_create(cfg).create_path(path)
 |  | 
 | 
											
												
													
														|  | 
 |  | +        cfg = config.Config()
 | 
											
												
													
														|  | 
 |  | +        cognos11.c11_create(cfg).create_path(path)
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  if __name__ == '__main__':
 |  |  if __name__ == '__main__':
 |