1
0
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:
Ilya Kreymer 2014-01-24 00:59:15 -08:00
parent 391f3bf81d
commit 1033feb2f8

View File

@ -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())
#=================================================================