diff --git a/main/main1.py b/test/main1.py similarity index 100% rename from main/main1.py rename to test/main1.py diff --git a/view/MyDayView.py b/view/MyDayView.py index ff7ee2a..d2960ce 100644 --- a/view/MyDayView.py +++ b/view/MyDayView.py @@ -24,8 +24,7 @@ class MyDay(QWidget): background = get_myday_important_conf('MyDay', 'Theme') if not background: background = '0' - else: - self.setStyleSheet('#my_day{background-image:url("../images/' + background + '.jpg");border-radius: 10px;}') + self.setStyleSheet('#my_day{background-image:url("../images/' + background + '.jpg");border-radius: 10px;}') # 下面这一句有问题,需要修复修改主题的实现方法 # self.setStyleSheet('#my_day{background-image:url("../images/2.jpg");')