mirror of
				https://github.com/Garmelon/PFERD.git
				synced 2025-11-03 22:23:41 +01:00 
			
		
		
		
	Pass string down to FileCookieJar
Some python versions just can't handle it *despite the documentation stating they should*.
This commit is contained in:
		@@ -22,7 +22,7 @@ class CookieJar:
 | 
			
		||||
        if cookie_file is None:
 | 
			
		||||
            self._cookies = LWPCookieJar()
 | 
			
		||||
        else:
 | 
			
		||||
            self._cookies = LWPCookieJar(cookie_file)
 | 
			
		||||
            self._cookies = LWPCookieJar(str(cookie_file.resolve()))
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
    def cookies(self) -> LWPCookieJar:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user