mirror of
https://github.com/bckelley/tconnectsync.git
synced 2026-08-24 03:34:12 -05:00
secret bugfix
This commit is contained in:
@@ -22,6 +22,7 @@ def get_one_of(name, default=None, options=[]):
|
|||||||
print("Error: %s must be one of: %s" % (name, options))
|
print("Error: %s must be one of: %s" % (name, options))
|
||||||
print("Current value: %s" % val)
|
print("Current value: %s" % val)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
return val
|
||||||
|
|
||||||
def get_number(name, default):
|
def get_number(name, default):
|
||||||
val = get(name, default)
|
val = get(name, default)
|
||||||
|
|||||||
Reference in New Issue
Block a user