fix: reload cache on start, bump dependencies

pull/42/head
Raphaël Vinot 2019-04-16 16:04:58 +02:00
parent f0dec97ad0
commit 306081281f
2 changed files with 3 additions and 3 deletions

4
Pipfile.lock generated
View File

@ -247,7 +247,7 @@
"har2tree": { "har2tree": {
"editable": true, "editable": true,
"git": "https://github.com/viper-framework/har2tree.git", "git": "https://github.com/viper-framework/har2tree.git",
"ref": "a90418ace183e5ebf8891bebe0a7efc7a8d910f7" "ref": "518808567e9d69b4047eba9e15b34838eae1962a"
}, },
"hyperlink": { "hyperlink": {
"hashes": [ "hashes": [
@ -457,7 +457,7 @@
"scrapysplashwrapper": { "scrapysplashwrapper": {
"editable": true, "editable": true,
"git": "https://github.com/viper-framework/ScrapySplashWrapper.git", "git": "https://github.com/viper-framework/ScrapySplashWrapper.git",
"ref": "cf53edeeff2ed2ba3bc65050baae2175127078e2" "ref": "aafeb155b8637662c396685bd104f95661441759"
}, },
"service-identity": { "service-identity": {
"hashes": [ "hashes": [

View File

@ -9,7 +9,7 @@ from redis import StrictRedis
if __name__ == '__main__': if __name__ == '__main__':
r = StrictRedis(unix_socket_path=get_socket_path('cache'), db=1) r = StrictRedis(unix_socket_path=get_socket_path('cache'))
r.delete('cache_loaded') r.delete('cache_loaded')
website_dir = get_homedir() / 'website' website_dir = get_homedir() / 'website'
Popen([str(website_dir / '3rdparty.sh')], cwd=website_dir) Popen([str(website_dir / '3rdparty.sh')], cwd=website_dir)