Skip to content

Commit

Permalink
3.4.1
Browse files Browse the repository at this point in the history
- reduced bloat
  • Loading branch information
SirDank committed Jul 21, 2023
1 parent e333313 commit ebbdabc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 7 additions & 2 deletions dankware/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
import time
import random
from datetime import datetime
from colorama import Fore, Style
from colorama import Fore, Style, init

init(autoreset=True)

# colorama colours
reset = Style.RESET_ALL
Expand Down Expand Up @@ -776,7 +778,10 @@ def splash_screen(img_path: str, duration: int = 3) -> None:
"""

import tkinter as tk
from PIL import Image, ImageTk
try:
from PIL import Image, ImageTk
except:
raise ImportError("Pillow is not installed! Run 'pip install pillow' to install it!")

class SplashScreen(tk.Toplevel):

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

license = "MIT",
name = "dankware",
version = "3.4",
version = "3.4.1",
author = "SirDank",

author_email = "[email protected]",
Expand Down Expand Up @@ -50,6 +50,5 @@
"rich",
"colorama",
"requests",
"pillow",
],
)

0 comments on commit ebbdabc

Please sign in to comment.