Skip to content

Commit

Permalink
fix Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
honjow committed Dec 11, 2023
1 parent cf4b74c commit 3fed9c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def fix_gpuFreqSlider(self):
# 将修改后的代码写回文件
with open(steamos_priv_path, 'w') as file:
file.write(sh_code)
except:
except Exception as e:
logging.error(e)

def get_gpuFreq(self):
Expand Down

0 comments on commit 3fed9c0

Please sign in to comment.