+ SYNC_LOCAL_PATH environment variable

This commit is contained in:
tmshv committed 2016-10-14 00:17:00 +03:00
1 parent 80d336e561
commit 54fbe4ef9c
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ collection_news = 'news'
sync_provider_type = env('SYNC_PROVIDER', 'fs')
_providers_roots = {
'fs': abs_fn('/Users/tmshv/Yandex.Disk'),
'fs': abs_fn(env('SYNC_LOCAL_PATH')),
'yd': abs_fn('/'),
}
f = _providers_roots[sync_provider_type]