]> git.lizzy.rs Git - nhentai.git/commitdiff
fix bug on first start
authorRicter Z <ricterzheng@gmail.com>
Tue, 1 Dec 2020 12:56:27 +0000 (20:56 +0800)
committerRicter Z <ricterzheng@gmail.com>
Tue, 1 Dec 2020 12:56:27 +0000 (20:56 +0800)
nhentai/constant.py

index 7d8df2fef11190ea81b3bebc95d2c897fc021dcf..bce3604f02f6639e887bd66df2625c0ff9e95236 100644 (file)
@@ -32,7 +32,7 @@ NHENTAI_CONFIG_FILE = os.path.join(NHENTAI_HOME, 'config.json')
 
 
 CONFIG = {
-    'proxy': {},
+    'proxy': {'http': '', 'https': ''},
     'cookie': '',
     'language': '',
     'template': '',