Skip to content

Commit

Permalink
change string to int
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray4me committed Sep 25, 2023
1 parent 2e64c63 commit 36adf0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
eventsDestination = sys.argv[8]
uid = sys.argv[9]
gid = sys.argv[10]
listhandler.parseIPTVLists(funct, providerurl, directory, moviesDestination, tvshowsDestination, eventsDestination, None, uid, gid)
listhandler.parseIPTVLists(funct, providerurl, directory, moviesDestination, tvshowsDestination, eventsDestination, None, int(uid), int(gid))

else:
apollo = sys.argv[3]
Expand All @@ -34,10 +34,10 @@
gid = sys.argv[6]

if funct == 'movies' or apollo == 'false':
listhandler.parseIPTVLists(funct, providerurl, directory, path, None, None, None ,uid, gid)
listhandler.parseIPTVLists(funct, providerurl, directory, path, None, None, None ,int(uid), int(gid))
elif funct == 'tvshows':
listhandler.parseIPTVLists(funct, providerurl, directory, None, path, None, 24, uid, gid)
listhandler.parseIPTVLists(funct, providerurl, directory, None, path, None, 24, int(uid), int(gid))
elif funct == 'events':
listhandler.parseIPTVLists(funct, providerurl, directory, None, None, path, 7, uid, gid)
listhandler.parseIPTVLists(funct, providerurl, directory, None, None, path, 7, int(uid), int(gid))


0 comments on commit 36adf0e

Please sign in to comment.