mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-03-12 17:20:22 +01:00
Remove non-working ini logging config
This commit is contained in:
parent
17c88320ed
commit
bc50873f1e
@ -106,7 +106,7 @@ def Main(Args, FeedEntries):
|
||||
HavePages, HavePosts = False, False
|
||||
SiteConf = LoadConfFile('Site.ini')
|
||||
|
||||
ConfigLogging(DefConfOptChoose('Logging', Args.Logging, ReadConf(SiteConf, 'staticoso', 'Logging')))
|
||||
#ConfigLogging(DefConfOptChoose('Logging', Args.Logging, ReadConf(SiteConf, 'staticoso', 'Logging')))
|
||||
|
||||
#if Args.InputDir:
|
||||
# os.chdir(Args.InputDir)
|
||||
|
@ -27,7 +27,7 @@ def SetupLogging(Level):
|
||||
|
||||
def ConfigLogging(Level):
|
||||
Num = DefConf['Logging']
|
||||
if Level:
|
||||
if type(Level) == str:
|
||||
if Level.isdecimal():
|
||||
Num = int(Level)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user