[sync] added awards
This commit is contained in:
1 parent
f5c42d454f
commit
1eda156b48
2 files changed
+3
No files matched your search
@@ -92,6 +92,7 @@ date_formats_reverse = [
|
|||||||
origin = 'Yandex.Disk'
|
origin = 'Yandex.Disk'
|
||||||
|
|
||||||
collection_documents = 'documents'
|
collection_documents = 'documents'
|
||||||
|
collection_awards = 'awards'
|
||||||
collection_schedules = 'schedules'
|
collection_schedules = 'schedules'
|
||||||
collection_events = 'events'
|
collection_events = 'events'
|
||||||
collection_news = 'timeline'
|
collection_news = 'timeline'
|
||||||
@@ -108,6 +109,7 @@ _providers_roots = {
|
|||||||
f = _providers_roots[sync_provider_type]
|
f = _providers_roots[sync_provider_type]
|
||||||
|
|
||||||
dir_documents = f('Hudozka/Site/Documents')
|
dir_documents = f('Hudozka/Site/Documents')
|
||||||
|
dir_awards = f('Hudozka/Site/Awards')
|
||||||
dir_schedules = f('Hudozka/Site/Schedules')
|
dir_schedules = f('Hudozka/Site/Schedules')
|
||||||
dir_events = f('Hudozka/Site/Events')
|
dir_events = f('Hudozka/Site/Events')
|
||||||
dir_news = f('Hudozka/Site/News')
|
dir_news = f('Hudozka/Site/News')
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ if __name__ == '__main__':
|
|||||||
io = lambda root: get_provider(settings.sync_provider_type, root)
|
io = lambda root: get_provider(settings.sync_provider_type, root)
|
||||||
|
|
||||||
main(io(settings.dir_documents), sync_documents, settings.collection_documents)
|
main(io(settings.dir_documents), sync_documents, settings.collection_documents)
|
||||||
|
main(io(settings.dir_awards), sync_documents, settings.collection_awards)
|
||||||
main(io(settings.dir_schedules), sync_schedules, settings.collection_schedules)
|
main(io(settings.dir_schedules), sync_schedules, settings.collection_schedules)
|
||||||
main(io(settings.dir_events), sync_posts, settings.collection_events)
|
main(io(settings.dir_events), sync_posts, settings.collection_events)
|
||||||
main(io(settings.dir_news), sync_posts, settings.collection_news)
|
main(io(settings.dir_news), sync_posts, settings.collection_news)
|
||||||
|
|||||||
Reference in new issue
Block a user