mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 01:32:05 +01:00 
			
		
		
		
	Fix problems export
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -43,11 +43,11 @@ class Command(BaseCommand):
 | 
			
		||||
        ]
 | 
			
		||||
 | 
			
		||||
        for problem_id, problem_name in enumerate(PROBLEMS):
 | 
			
		||||
            dir_name = f"Problème n°{problem_id} : {problem_name}"
 | 
			
		||||
            dir_name = f"Problème n°{problem_id + 1} : {problem_name}"
 | 
			
		||||
            problem_dir = base_dir / dir_name
 | 
			
		||||
            if not problem_dir.is_dir():
 | 
			
		||||
                problem_dir.mkdir()
 | 
			
		||||
            self.handle_problem(problem_id, problem_dir)
 | 
			
		||||
            self.handle_problem(problem_id + 1, problem_dir)
 | 
			
		||||
 | 
			
		||||
    def handle_tournament(self, tournament, base_dir):
 | 
			
		||||
        name = tournament.name
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user