diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2019-08-15 21:46:18 +0200 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2019-08-15 21:46:18 +0200 |
commit | 5da25615af64590c3889aff68ac5f9fbb79f4c66 (patch) | |
tree | 51534883190a157ab0c6a50fc4e1ec65c366f395 | |
parent | 710343b39a3483ffda8c6ccedaf98320886d8e48 (diff) | |
download | TermIO-python-package-5da25615af64590c3889aff68ac5f9fbb79f4c66.tar.gz TermIO-python-package-5da25615af64590c3889aff68ac5f9fbb79f4c66.zip |
-rw-r--r-- | TermIO/__init__.py | 2 | ||||
-rwxr-xr-x | 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 |