mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-19 12:28:10 +01:00
corrected a bug which prevents operation if no %q is found in configuration.
This commit is contained in:
@@ -144,6 +144,7 @@ def checkForEvents():
|
|||||||
|
|
||||||
def mainLoop(timeFmt, dateFmt, dayFmt, weekFmt):
|
def mainLoop(timeFmt, dateFmt, dayFmt, weekFmt):
|
||||||
recalcWeek = weekFmt.find('%q') + 1 # True if we found %q.
|
recalcWeek = weekFmt.find('%q') + 1 # True if we found %q.
|
||||||
|
newWeekFmt = weekFmt
|
||||||
counter = -1
|
counter = -1
|
||||||
lastStrs = [''] * 4
|
lastStrs = [''] * 4
|
||||||
while 1:
|
while 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user