mirror of
https://github.com/nikdoof/tvorganise.git
synced 2025-12-13 23:02: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'],
|
py_modules = [ 'tvorganise'],
|
||||||
entry_points = {
|
entry_points = {
|
||||||
'console_scripts':[
|
'console_scripts':[
|
||||||
'tvorganise = tvorganise:TvOrganiser.main'
|
'tvorganise = tvorganise:main'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -210,3 +210,7 @@ class TvOrganiser():
|
|||||||
self._logger.info("[*] ..done")
|
self._logger.info("[*] ..done")
|
||||||
else:
|
else:
|
||||||
self._logger.warning("Skipping file: %s" % filename)
|
self._logger.warning("Skipping file: %s" % filename)
|
||||||
|
|
||||||
|
def main():
|
||||||
|
t = TvOrganiser()
|
||||||
|
t.main()
|
||||||
|
|||||||
Reference in New Issue
Block a user