mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-09 05:21:13 +02:00
Remove outdated xf2test testing code.
This commit is contained in:
parent
c2fabce099
commit
0066929558
1 changed files with 0 additions and 5 deletions
|
|
@ -1143,11 +1143,6 @@ class Configuration(configparser.SafeConfigParser):
|
|||
## not present at all
|
||||
headers.append(('Referer',referer))
|
||||
|
||||
if "xf2test" in url:
|
||||
import base64
|
||||
base64string = base64.encodestring(b"xf2demo2019:dBfbyHVvRCsYtLg846r3").replace(b'\n', b'')
|
||||
headers.append(('Authorization', b"Basic %s" % base64string))
|
||||
|
||||
self.opener.addheaders = headers
|
||||
|
||||
if parameters != None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue