Stupid SyntaxError!

This commit is contained in:
Jeremy Fincher 2003-12-02 16:25:02 +00:00
parent b5f6155e66
commit ee8be5abc1

View File

@ -494,9 +494,9 @@ if __name__ == '__main__':
sys.exit(-1) sys.exit(-1)
if len(sys.argv) == 4: if len(sys.argv) == 4:
added_by = sys.argv.pop() added_by = sys.argv.pop()
(channel, category, filename) = sys.argv[1:]
else: else:
added_by = '<console>' added_by = '<console>'
(channel, category, filename) = sys.argv[1:]
plugin = Class() plugin = Class()
db = plugin.getDb(channel) db = plugin.getDb(channel)
cursor = db.cursor() cursor = db.cursor()