Skip to content

Commit 0ad7f62

Browse files
committed
fix broad except
1 parent 9f55768 commit 0ad7f62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Raspberry_Pi_Severance_MDR_Terminal/data_bin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import tkinter as tk
88
from PIL import Image, ImageTk, ImageFont, ImageDraw
99

10-
# pylint: disable=broad-exception-caught,too-many-locals
10+
# pylint: disable=broad-except,too-many-locals
1111

1212
class Bin:
1313
KEYS = ['WO', 'FC', 'DR', 'MA']

Raspberry_Pi_Severance_MDR_Terminal/lumon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_username():
4040
except Exception:
4141
pass
4242
return "Mark S."
43-
# pylint: disable=too-many-branches,too-many-lines,broad-exception-caught,unused-argument
43+
# pylint: disable=too-many-branches,too-many-lines,broad-except,unused-argument
4444
# pylint: disable=too-many-statements,too-many-locals,too-many-public-methods,too-many-nested-blocks
4545
class MacrodataRefinementTerminal:
4646
def __init__(self, username=None, location=LOCATION):

0 commit comments

Comments
 (0)