mirror of
https://github.com/nikdoof/tvorganise.git
synced 2025-12-13 06:42:16 +00:00
Fixed startup for console_script
This commit is contained in:
2
setup.py
2
setup.py
@@ -14,7 +14,7 @@ license='GPLv2',
|
||||
py_modules = [ 'tvorganise'],
|
||||
entry_points = {
|
||||
'console_scripts':[
|
||||
'tvorganise = tvorganise:TvOrganiser.main'
|
||||
'tvorganise = tvorganise:main'
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
@@ -210,3 +210,7 @@ class TvOrganiser():
|
||||
self._logger.info("[*] ..done")
|
||||
else:
|
||||
self._logger.warning("Skipping file: %s" % filename)
|
||||
|
||||
def main():
|
||||
t = TvOrganiser()
|
||||
t.main()
|
||||
|
||||
Reference in New Issue
Block a user