aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TermIO/__init__.py2
-rwxr-xr-xbin/build.sh2
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