mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +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
|
||||
application = create_wb_app(globalwb.create_global_wb(default_head_insert))
|
||||
try:
|
||||
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