Fixed some API stuff to return the right values for pypo.
Created a test script to schedule a test file one minute after running it. Moved the database connection initialization to conf.php instead of in ui_conf.php. Changed some includes to rely on the pear path instead of specifying it directly in the include. This will make it easier to use the system defaults (for Ubuntu/Debian for example).
This commit is contained in:
parent
ef8b8dc54d
commit
8e7e0226e6
11 changed files with 289 additions and 68 deletions
1
3rd_party/pypo/api_clients/api_client.py
vendored
1
3rd_party/pypo/api_clients/api_client.py
vendored
|
@ -164,6 +164,7 @@ class CampcasterApiClient(ApiClientInterface):
|
|||
|
||||
# Construct the URL
|
||||
export_url = self.config["base_url"] + self.config["api_base"] + self.config["export_url"]
|
||||
logger.debug("Exporting schedule using URL: "+export_url)
|
||||
|
||||
# Insert the start and end times into the URL
|
||||
export_url = export_url.replace('%%api_key%%', self.config["api_key"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue