Refactoring & install with pyproject.toml #1
@@ -71,8 +71,8 @@ class Userconfig:
 | 
				
			|||||||
                return False
 | 
					                return False
 | 
				
			||||||
            # assemble file to tmp
 | 
					            # assemble file to tmp
 | 
				
			||||||
            commentstring = ""
 | 
					            commentstring = ""
 | 
				
			||||||
            if dir_config.check("Main", "commentstring"):
 | 
					            if dir_config.check(section="Main", option="commentstring"):
 | 
				
			||||||
                commentstring = dir_config.get("Main", "commentstring")
 | 
					                commentstring = dir_config.get(section="Main", option="commentstring")
 | 
				
			||||||
                self._cfg.debug.stdout("   +++ Found commentstring %s in %s" % (commentstring, df), 3)
 | 
					                self._cfg.debug.stdout("   +++ Found commentstring %s in %s" % (commentstring, df), 3)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            tempfilename = self.build_file(destfiles[df], df, commentstring)
 | 
					            tempfilename = self.build_file(destfiles[df], df, commentstring)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user