GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update STTinyPNG-Python.py · saitjr/STTinyPNG-Python@7f0ede1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • STTinyPNG-Python.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎STTinyPNG-Python.py‎

Copy file name to clipboardExpand all lines: STTinyPNG-Python.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@
1717
pass
1818
else:
1919
os.mkdir(toFullPath)
20-
21-
source = tinify.from_file(root + '/' + name)
22-
source.to_file(toFullName)
2320

2421
with open(toFullName, 'rb') as source:
2522
source_data = source.read()
26-
result_data = tinify.from_buffer(source_data).to_buffer()
23+
result_data = tinify.from_buffer(source_data).to_buffer()

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.