chore: remove absolute root
This commit is contained in:
		
							parent
							
								
									9fff4a9aca
								
							
						
					
					
						commit
						aa678484ee
					
				|  | @ -59,7 +59,6 @@ def convert( | ||||||
|     Convert given dir of JOJ3 toml config files to JOJ3 json config files |     Convert given dir of JOJ3 toml config files to JOJ3 json config files | ||||||
|     """ |     """ | ||||||
|     logger.info(f"Converting files in {root.absolute()}") |     logger.info(f"Converting files in {root.absolute()}") | ||||||
|     root = root.absolute() |  | ||||||
|     for repo_toml_path in root.glob("**/repo.toml"): |     for repo_toml_path in root.glob("**/repo.toml"): | ||||||
|         repo_path = repo_toml_path.parent |         repo_path = repo_toml_path.parent | ||||||
|         repo_obj = rtoml.loads(repo_toml_path.read_text()) |         repo_obj = rtoml.loads(repo_toml_path.read_text()) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user