-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
px_uploader.py: enable file to be used as module
In order to use px_uploader as a module from another Python script, all the action needs to be moved into a main() function which is only called if the file is run directly.
- Loading branch information
Showing
1 changed file
with
115 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters