mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Stupid SyntaxError!
This commit is contained in:
parent
b5f6155e66
commit
ee8be5abc1
@ -494,9 +494,9 @@ if __name__ == '__main__':
|
||||
sys.exit(-1)
|
||||
if len(sys.argv) == 4:
|
||||
added_by = sys.argv.pop()
|
||||
(channel, category, filename) = sys.argv[1:]
|
||||
else:
|
||||
added_by = '<console>'
|
||||
(channel, category, filename) = sys.argv[1:]
|
||||
plugin = Class()
|
||||
db = plugin.getDb(channel)
|
||||
cursor = db.cursor()
|
||||
|
Loading…
Reference in New Issue
Block a user