Skip to content

Commit e6ebc62

Browse files
committed
refactor: Simplify choice validation in main function
1 parent 7672caa commit e6ebc62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bugscanx/modules/others/file_toolkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def main():
259259
if choice == '0':
260260
raise KeyboardInterrupt
261261

262-
if not choice or choice not in options:
262+
if choice not in options:
263263
from bugscanx import text_ascii
264264
text_ascii("FILE TOOLKIT")
265265
continue

0 commit comments

Comments
 (0)