Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLittleboyHarry <littleboyharry@qq.com>2022-06-07 02:07:18 +0800
committerGitHub <noreply@github.com>2022-06-06 20:07:18 +0200
commit766176cfe294e6fff5602ea3147e5afd02197fe5 (patch)
tree342e44276fb4f8744fc955fbac679735ebead6ce
parenta7ca037a26de53fd242f89bc6a90fd53337b4d13 (diff)
Update swiss.py (#1295)
fix bug
-rw-r--r--examples/swiss.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/swiss.py b/examples/swiss.py
index 6742358e..83b79c09 100644
--- a/examples/swiss.py
+++ b/examples/swiss.py
@@ -255,7 +255,7 @@ class MyMenu(archinstall.GlobalMenu):
self.option(entry).set_enabled(False)
self._update_install_text()
- def post_callback(self,option,value=None):
+ def post_callback(self,option=None,value=None):
self._update_install_text(self._execution_mode)
def _missing_configs(self,mode='full'):