mirror of
https://github.com/svpcom/wfb-ng.git
synced 2025-02-22 08:23:47 -04:00
Merge pull request #159 from Doreapp/master
Fix version parse with python3
This commit is contained in:
commit
7d1ade9227
@ -18,4 +18,4 @@ def main(release):
|
|||||||
ttuple.tm_hour * 3600 + ttuple.tm_min * 60 + ttuple.tm_sec))
|
ttuple.tm_hour * 3600 + ttuple.tm_min * 60 + ttuple.tm_sec))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main(map(int, sys.argv[1].split('.')) if len(sys.argv) == 2 else None)
|
main([int(i) for i in sys.argv[1].split('.')] if len(sys.argv) == 2 else None)
|
||||||
|
Loading…
Reference in New Issue
Block a user