Skip to content

Commit

Permalink
fixed a minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dekuNukem committed Feb 23, 2023
1 parent 6d50651 commit 6da22f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pc_software/duckyscript3/duckypad_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def select_root_folder(root_path=None):
dp_settings.load_from_path(dp_root_folder_path)
duckypad_fw_ver = print_fw_update_label()

if check_update.versiontuple(duckypad_fw_ver) < check_update.versiontuple(MIN_DUCKYPAD_FIRMWARE_VERSION):
if duckypad_fw_ver is None or check_update.versiontuple(duckypad_fw_ver) < check_update.versiontuple(MIN_DUCKYPAD_FIRMWARE_VERSION):
if messagebox.askokcancel("Info", "Incompatible duckyPad firmware: too old!\n\nSee how to update it?"):
fw_update_click()

Expand Down
Binary file modified pc_software/duckyscript3/duckypad_config_latest_source.zip
Binary file not shown.

0 comments on commit 6da22f3

Please sign in to comment.