Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit 2757e1d

Browse files
author
Clark
committed
committing again because of wrong dir
1 parent ac791f5 commit 2757e1d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
matplotlib >= 3.5.1
22
colorama >= 0.4.4
3-
PyScreeze >= 0.1.28
43
inquirerpy >= 0.3.3
54
pandas >= 1.4.0
5+
pyscreenshot

src/commands.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from webbrowser import open_new_tab
1010
from glob import glob
1111
from time import sleep
12-
import pyscreeze
12+
from pyscreenshot import grab
1313
from colorama import (
1414
init,
1515
Fore,
@@ -230,7 +230,8 @@ def screenshot():
230230
print(f"Screenshotting in {ss}")
231231
sleep(1)
232232
ss -= 1
233-
pyscreeze.screenshot('Screenshot.png')
233+
image = grab()
234+
image.save('Screenshot.png')
234235
print("Screenshot done")
235236

236237
def repolink():

0 commit comments

Comments
 (0)