Skip to content

Commit

Permalink
Spelling mistake in expected config file
Browse files Browse the repository at this point in the history
When zap2itconfig.ini.dist is renamed to zap2itconfig.ini to run the script, an error is raised because the script is expecting xap2itconfig.ini instead. Code changed to expect zap2itconfig.ini instead. The difference doesn't really matter but for new users it is unintuitive to have to look through the code and find the expected config file name. Should probably be updated to a command line parameter in the future.
  • Loading branch information
gPoupon authored Jul 3, 2021
1 parent 008af85 commit e937a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zap2it-GuideScrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def buildXMLDate(inputDateString):
return outputDate

#Add Paramter options for config file and guide file
optConfigFile = './xap2itconfig.ini'
optConfigFile = './zap2itconfig.ini'
optGuideFile = 'xmlguide.xmltv'
optLanguage = 'en'
try:
Expand Down

0 comments on commit e937a63

Please sign in to comment.