Added flag for two different list_all_db_files requests.

This commit is contained in:
Rudi Grinberg 2012-09-10 17:42:59 -04:00
parent 0dab4fa231
commit 160b28af5d
1 changed files with 1 additions and 0 deletions

View File

@ -477,6 +477,7 @@ class AirtimeApiClient():
def list_all_db_files(self, dir_id, all_files=True):
logger = self.logger
try:
all_files = u"1" if all_files else u"0"
url = self.construct_url("list_all_db_files")
url = url.replace("%%dir_id%%", dir_id)
url = url.replace("%%all%%", all_files)