mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
directnotify: Fix invalid syntax
This commit is contained in:
parent
c63a92bdec
commit
b99b3dc7d4
@ -59,7 +59,7 @@ class RotatingLog:
|
||||
for i in range(26):
|
||||
limit = self.sizeLimit
|
||||
path = "%s_%s_%s.log" % (self.path, dateString, chr(i+97))
|
||||
if limit is None not os.path.exists(path) or os.stat(path)[6] < limit:
|
||||
if limit is None or not os.path.exists(path) or os.stat(path)[6] < limit:
|
||||
return path
|
||||
# Hmm, 26 files are full? throw the rest in z:
|
||||
# Maybe we should clear the self.sizeLimit here... maybe.
|
||||
|
Loading…
x
Reference in New Issue
Block a user