Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

vfs.py should pull dropbox info from settings

  • Loading branch information...
commit 361be97e34a81cf510c1a3a051b3d9e4f7e623ed 1 parent e32383c
Rob Weber authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 resources/lib/vfs.py
  2. +2 −2 resources/settings.xml
View
4 resources/lib/vfs.py
@@ -5,8 +5,8 @@
import sys
from dropbox import client, rest, session
-APP_KEY = 'f5wlmek6aoriqax'
-APP_SECRET = 'b1461sje1kxgzet'
+APP_KEY = utils.getSetting('dropbox_key')
+APP_SECRET = utils.getSetting('dropbox_secret')
class Vfs:
root_path = None
View
4 resources/settings.xml
@@ -4,8 +4,8 @@
<setting id="remote_selection" type="enum" lvalues="30018|30019|30027" default="0" label="30025"/>
<setting id="remote_path_2" type="text" label="30024" default="" visible="eq(-1,1)" />
<setting id="remote_path" type="folder" label="30020" visible="eq(-2,0)" />
- <setting id="dropbox_key" type="text" label="30028" visible="eq(-3,2)" />
- <setting id="dropbox_secret" type="text" label="30029" visible="eq(-4,2)" />
+ <setting id="dropbox_key" type="text" label="30028" visible="eq(-3,2)" default="" />
+ <setting id="dropbox_secret" type="text" label="30029" visible="eq(-4,2)" default="" />
<setting id="backup_rotation" type="number" label="30026" default="0" />
<setting id="run_silent" type="bool" label="30022" default="false" />
</category>
Please sign in to comment.
Something went wrong with that request. Please try again.