Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
guptadev21 committed Oct 18, 2024
1 parent c964a6f commit 376c6b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
### Bug Fixes

* pins rapyuta-io version to v1.17.1 ([2cb936c](https://github.com/rapyuta-robotics/rapyuta-io-cli/commit/2cb936ce2be50f772fb9b304356b7b32446a21ae))
* **device:** add device report feature to cli.

## [9.0.3](https://github.com/rapyuta-robotics/rapyuta-io-cli/compare/v9.0.2...v9.0.3) (2024-09-26)

Expand Down
4 changes: 2 additions & 2 deletions riocli/device/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import datetime
import functools
import json
import re
import time
import typing
from datetime import datetime, timedelta
from pathlib import Path

import click
Expand Down Expand Up @@ -102,7 +102,7 @@ def generate_shared_url(device_guid: str, request_id: str, expiry: int, spinner=
try:
client = new_client()
device = client.get_device(device_id=device_guid)
expiry_time = datetime.now() + datetime.timedelta(days=expiry)
expiry_time = datetime.now() + timedelta(days=expiry)

# Create the shared URL
public_url = device.create_shared_url(
Expand Down

0 comments on commit 376c6b0

Please sign in to comment.