print bad command

This commit is contained in:
John Tantalo
2014-12-27 11:05:30 -08:00
parent ad5b507702
commit 9913c2c70a
+5 -2
View File
@@ -117,7 +117,7 @@ def main():
datasetId=datasetId).execute()
# Delete weight dataset.
if command == 'delete':
elif command == 'delete':
googleClient.users().dataSources().datasets().delete(
userId='me',
dataSourceId=dataSourceId,
@@ -125,7 +125,7 @@ def main():
print "deleted data"
# Upload weight dataset.
if command == 'patch':
elif command == 'patch':
print googleClient.users().dataSources().datasets().patch(
userId='me',
dataSourceId=dataSourceId,
@@ -137,6 +137,9 @@ def main():
point=googleWeightLogs,
)).execute()
else:
print "bad command"
if __name__ == '__main__':
main()