Skip to content

Commit

Permalink
Fixed import issues in ocx and app pywin Demos
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Oct 4, 2024
1 parent 842fbef commit 6bd0363
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ https://mhammond.github.io/pywin32_installers.html.
Coming in build 308, as yet unreleased
--------------------------------------

* Fixed import issues in ocx and app pywin Demos (#2291, @Avasam)

Build 307, released 2024-10-04
------------------------------
### Release process changes
Expand Down
4 changes: 1 addition & 3 deletions Pythonwin/pywin/Demos/app/demoutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,4 @@ def NeedApp():


if __name__ == "__main__":
import demoutils

demoutils.NotAScript()
NotAScript()
Empty file.
4 changes: 1 addition & 3 deletions Pythonwin/pywin/Demos/ocx/demoutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,4 @@ def NeedApp():


if __name__ == "__main__":
from . import demoutils

demoutils.NotAScript()
NotAScript()
2 changes: 1 addition & 1 deletion Pythonwin/pywin/Demos/ocx/ocxserialtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test():


if __name__ == "__main__":
from . import demoutils
import demoutils

if demoutils.NeedGoodGUI():
test()
2 changes: 1 addition & 1 deletion Pythonwin/pywin/Demos/ocx/ocxtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def demo():


if __name__ == "__main__":
from . import demoutils
import demoutils

if demoutils.NeedGoodGUI():
testall()

0 comments on commit 6bd0363

Please sign in to comment.