Skip to content

Commit

Permalink
kktix_status allow run on linux server without tkinter
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Mar 15, 2024
1 parent 133c3c8 commit e1884b9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
11 changes: 7 additions & 4 deletions config_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
from Tkinter import *
except ImportError:
# for Python3
from tkinter import *
from tkinter import ttk
from tkinter import messagebox
from tkinter import filedialog
try:
from tkinter import *
from tkinter import ttk
from tkinter import messagebox
from tkinter import filedialog
except Exception as e:
pass

import base64
import json
Expand Down
11 changes: 7 additions & 4 deletions kktix_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@
from Tkinter import *
except ImportError:
# for Python3
from tkinter import *
from tkinter import ttk
from tkinter import messagebox
from tkinter import filedialog
try:
from tkinter import *
from tkinter import ttk
from tkinter import messagebox
from tkinter import filedialog
except Exception as e:
pass

import argparse
import base64
Expand Down
13 changes: 8 additions & 5 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@
from Tkinter import *
except ImportError:
# for Python3
from tkinter import *
from tkinter import ttk
import tkinter.font as tkfont
from tkinter import messagebox
from tkinter.filedialog import asksaveasfilename
try:
from tkinter import *
from tkinter import ttk
import tkinter.font as tkfont
from tkinter import messagebox
from tkinter.filedialog import asksaveasfilename
except Exception as e:
pass
'''
try:
import customtkinter
Expand Down

0 comments on commit e1884b9

Please sign in to comment.