Skip to content

Commit

Permalink
Fix Some Bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdWindScholar committed Dec 2, 2023
1 parent 5bfe11e commit 6ec9a64
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,13 @@ def settings1(self):
if input(" 选择erofs压缩方式[1]是 [2]否:") == '1':
erofslim = input(
" 选择erofs压缩方式:lz4/lz4hc/lzma/和压缩等级[1-9](数字越大耗时更长体积更小) 例如 lz4hc,8:")
if erofslim:
settings.change("erofslim", erofslim)
settings.change("erofslim", erofslim if erofslim else 'lz4hc,8')
else:
settings.change("erofslim", '')
elif op_pro == '5':
if input(" 设置打包UTC时间戳[1]自动 [2]自定义:") == "2":
utcstamp = input(" 请输入: ")
if utcstamp.isdigit():
settings.change('utcstamp', utcstamp)
settings.change('utcstamp', utcstamp if utcstamp.isdigit() else '1230768000')
else:
settings.change('utcstamp', '')
elif op_pro == '6':
Expand Down

0 comments on commit 6ec9a64

Please sign in to comment.