Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
drshajul committed Jun 5, 2023
1 parent e537b0d commit 3547436
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="termux-api",
version="1.2.5.1",
version="1.2.5.2",
author="drshajul",
author_email="[email protected]",
description="A package for accessing termux-api",
Expand Down
4 changes: 2 additions & 2 deletions termux/SMS.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def send(text, number, sim: int = None):
if sim is not None:
opts += ['-s', sim]
if type(number) is list:
opts.append("-n", ",".join(number))
opts += ["-n", ",".join(number)]
elif type(number) is str:
opts.append("-n", number)
opts += ["-n", number]
opts.append(text)
return execute(["termux-sms-send"] + opts)

0 comments on commit 3547436

Please sign in to comment.