From 5da25615af64590c3889aff68ac5f9fbb79f4c66 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 15 Aug 2019 21:46:18 +0200 Subject: :construction: Fix another stupid mistake --- TermIO/__init__.py | 2 +- bin/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TermIO/__init__.py b/TermIO/__init__.py index 6933dbe..80bca59 100644 --- a/TermIO/__init__.py +++ b/TermIO/__init__.py @@ -17,7 +17,7 @@ class TermSizeSkeleton: def Columns(self, Update=True): if Update: self.Update() - return self.RowsInt + return self.ColumnsInt TermSize = TermSizeSkeleton() diff --git a/bin/build.sh b/bin/build.sh index e9faf30..39c889d 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -4,7 +4,7 @@ printf "> Create source distribution\n" python3 setup.py sdist bdist_wheel printf "> Upload to PyPI\n" -python3 -m twine upload dist/* +sudo python3 -m twine upload dist/* printf "> Install updated binary\n" sudo pip3 install TermIO --upgrade -- cgit v1.2.3