From b8896a6b5839c0407f932d49ba54d06874f38684 Mon Sep 17 00:00:00 2001 From: Cuan Date: Wed, 2 Mar 2022 05:36:21 -0500 Subject: [PATCH] Abbreviated Python declarations --- bin/sshync.py | 4 ++-- bin/sshyp | 4 ++-- bin/sshypRemote.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/sshync.py b/bin/sshync.py index fc3a8d8..9f5d76a 100755 --- a/bin/sshync.py +++ b/bin/sshync.py @@ -1,6 +1,6 @@ -#!/usr/bin/python3 +#!/bin/python3 -# sshync 2022.01.17.unreleased13 +# sshync 2022.03.02.unreleased14 # external modules diff --git a/bin/sshyp b/bin/sshyp index 8aca67a..6cff4e7 100755 --- a/bin/sshyp +++ b/bin/sshyp @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/bin/python3 # external modules @@ -51,7 +51,7 @@ def entry_list_gen(): # generates and prints a list of all folders and entries if _real <= get_terminal_size()[0]: _width = len(' '.join(_entry_list)) else: - _width = (len(' '.join(_entry_list))/(_real/get_terminal_size()[0]) - 50) + _width = (len(' '.join(_entry_list)) / (_real / get_terminal_size()[0]) - 50) try: print(fill(' '.join(_entry_list), width=_width) + '\n') except ValueError: diff --git a/bin/sshypRemote.py b/bin/sshypRemote.py index fdd3e5c..30e31f6 100755 --- a/bin/sshypRemote.py +++ b/bin/sshypRemote.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/bin/python3 # external modules