aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2019-08-15 21:46:18 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2019-08-15 21:46:18 +0200
commit5da25615af64590c3889aff68ac5f9fbb79f4c66 (patch)
tree51534883190a157ab0c6a50fc4e1ec65c366f395
parent710343b39a3483ffda8c6ccedaf98320886d8e48 (diff)
downloadTermIO-python-package-master.tar.gz
TermIO-python-package-master.zip
:construction: Fix another stupid mistakeHEADmaster
-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