Calendar Data Transfer support

This commit is contained in:
Jay Lee
2017-09-27 19:13:35 -04:00
parent 86c4c552db
commit 0805725a6f
2 changed files with 7 additions and 2 deletions

View File

@ -1958,8 +1958,6 @@ def user_from_userid(userid):
buildUserIdToNameMap()
return GM_Globals[GM_MAP_USER_ID_TO_NAME].get(userid, u'')
SERVICE_NAME_TO_ID_MAP = {u'Drive and Docs': u'55656082996', u'Google+': u'553547912911',}
def appID2app(dt, appID):
for serviceName, serviceID in SERVICE_NAME_TO_ID_MAP.items():
if appID == serviceID:

View File

@ -138,11 +138,18 @@ ADDRESS_FIELDS_ARGUMENT_MAP = {
u'country': u'countryCode', u'countrycode': u'countryCode',
}
SERVICE_NAME_TO_ID_MAP = {
u'Drive and Docs': u'55656082996',
u'Google+': u'553547912911',
u'Calendar': u'435070579839'
}
SERVICE_NAME_CHOICES_MAP = {
u'drive': u'Drive and Docs',
u'drive and docs': u'Drive and Docs',
u'googledrive': u'Drive and Docs',
u'gdrive': u'Drive and Docs',
u'calendar': u'Calendar',
}
PRINTJOB_ASCENDINGORDER_MAP = {