Skip to content

Commit

Permalink
Release 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaccarthy committed Apr 1, 2023
1 parent a541f98 commit 97436f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions sc8pr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# along with "sc8pr". If not, see <http://www.gnu.org/licenses/>.


version = 3, 0, "dev1"
version = 3, 0, 1
print("sc8pr {}.{}.{}: https://dmaccarthy.github.io/sc8pr".format(*version))

import sys, struct
Expand Down Expand Up @@ -1145,7 +1145,9 @@ def save(self, fn=None):
# Resizing methods

@property
def size(self): return self.image.get_size()
def size(self):
try: return self.image.get_size()
except: return self._size

@size.setter
def size(self, size):
Expand Down
2 changes: 1 addition & 1 deletion sc8pr/misc/typeset.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015-2021 D.G. MacCarthy <http://dmaccarthy.github.io>
# Copyright 2015-2023 D.G. MacCarthy <http://dmaccarthy.github.io>
#
# This file is part of "sc8pr".
#
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = sc8pr
version = 3.0.dev1
version = 3.0.1
author = D.G. MacCarthy
author_email = [email protected]
url = https://dmaccarthy.github.io/sc8pr
Expand Down

0 comments on commit 97436f1

Please sign in to comment.