mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
use sample settings if driver file not found
This commit is contained in:
parent
391f3bf81d
commit
1033feb2f8
@ -124,8 +124,11 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
|
|
||||||
#=================================================================
|
#=================================================================
|
||||||
import globalwb
|
try:
|
||||||
application = create_wb_app(globalwb.create_global_wb(default_head_insert))
|
import globalwb
|
||||||
|
application = create_wb_app(globalwb.create_global_wb(default_head_insert))
|
||||||
|
except ImportError as e:
|
||||||
|
application = create_wb_app(sample_wb_settings())
|
||||||
#=================================================================
|
#=================================================================
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user