Skip to content

Commit 1ba49fb

Browse files
committed
update get_hostname
1 parent 72d4357 commit 1ba49fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mytoncore/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ def parse_db_stats(path: str):
100100
# end define
101101

102102
def get_hostname():
103-
return subprocess.run(["hostname", "-f"], stdout=subprocess.PIPE).stdout.decode().strip()
103+
return subprocess.run(["hostname"], stdout=subprocess.PIPE).stdout.decode().strip()

0 commit comments

Comments
 (0)